aidenybai / aidenybai/ghast

React Review Audit

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
71
Forks
6
PR merge metrics
No merged PRs in 30d

Description

**Score: 79/100** · 97 errors · 1129 warnings

Copy as prompt

```text
Fix the following React Review diagnostics in my codebase.

## Errors (97)

1. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:3823
React Hook "useFiber" is called in function "updateTextNode" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

2. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:3846
React Hook "useFiber" is called in function "updateElement" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

3. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:3875
React Hook "useFiber" is called in function "updatePortal" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

4. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:3891
React Hook "useFiber" is called in function "updateFragment" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

5. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:4279
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

6. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:4298
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

7. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:4346
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

8. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:4413
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

9. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:4868
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

10. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:4973
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

11. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:5482
React Hook "useThenable" is called in function "updateActionStateImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

12. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:5582
React Hook "useEffectEventImpl" is called in function "updateEvent" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

13. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:6189
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

14. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.profiling.js:6239
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

15. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:6244
React Hook "useFiber" is called in function "updateTextNode" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

16. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:6273
React Hook "useFiber" is called in function "updateElement" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

17. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:6299
React Hook "useFiber" is called in function "updatePortal" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

18. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:6319
React Hook "useFiber" is called in function "updateFragment" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

19. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:6876
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

20. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:6902
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

21. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:6961
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

22. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:7080
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

23. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:7779
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

24. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:7895
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

25. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:8585
React Hook "useThenable" is called in function "updateActionStateImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

26. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:8698
React Hook "useEffectEventImpl" is called in function "updateEvent" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

27. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:9036
React Hook "useThenable" is called in function "updateTransition" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

28. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-profiling.development.js:9046
React Hook "useThenable" is called in function "rerenderTransition" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

29. [error] rules-of-hooks — node_modules/typescript/lib/_tsc.js:19506
React Hook "useOuterVariableScopeInParameter" is called in function "resolveNameHelper" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

30. [error] rules-of-hooks — node_modules/typescript/lib/_tsc.js:41698
React Hook "useCaseSensitiveFileNames" is called in function "tryLoadInputFileForPath" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

31. [error] rules-of-hooks — node_modules/typescript/lib/_tsc.js:41728
React Hook "useCaseSensitiveFileNames" is called in function "tryLoadInputFileForPath" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

32. [error] rules-of-hooks — node_modules/typescript/lib/_tsc.js:41737
React Hook "useCaseSensitiveFileNames" is called in function "tryLoadInputFileForPath" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

33. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:3361
React Hook "useFiber" is called in function "updateTextNode" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

34. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:3384
React Hook "useFiber" is called in function "updateElement" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

35. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:3413
React Hook "useFiber" is called in function "updatePortal" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

36. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:3429
React Hook "useFiber" is called in function "updateFragment" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

37. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:3817
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

38. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:3836
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

39. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:3884
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

40. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:3951
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

41. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:4406
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

42. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:4511
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

43. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:5019
React Hook "useThenable" is called in function "updateActionStateImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

44. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:5119
React Hook "useEffectEventImpl" is called in function "updateEvent" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

45. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:5721
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

46. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.production.js:5771
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

47. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:6236
React Hook "useFiber" is called in function "updateTextNode" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

48. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:6265
React Hook "useFiber" is called in function "updateElement" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

49. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:6291
React Hook "useFiber" is called in function "updatePortal" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

50. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:6311
React Hook "useFiber" is called in function "updateFragment" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

51. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:6868
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

52. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:6894
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

53. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:6953
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

54. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:7072
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

55. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:7771
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

56. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:7887
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

57. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:8577
React Hook "useThenable" is called in function "updateActionStateImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

58. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:8690
React Hook "useEffectEventImpl" is called in function "updateEvent" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

59. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:9028
React Hook "useThenable" is called in function "updateTransition" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

60. [error] rules-of-hooks — node_modules/react-dom/cjs/react-dom-client.development.js:9038
React Hook "useThenable" is called in function "rerenderTransition" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

61. [error] no-nested-component-definition — node_modules/@babel/helpers/lib/helpers/asyncIterator.js:57
Component "AsyncFromSyncIteratorContinuation" defined inside "AsyncFromSyncIterator" — creates new instance every render, destroying state

62. [error] no-eval — node_modules/source-map-js/lib/quick-sort.js:111
new Function() is a code injection risk — avoid dynamic code execution

63. [error] rules-of-hooks — node_modules/rollup/dist/shared/rollup.js:6222
React Hook "useOriginalName" cannot be called in a class component. React Hooks must be called in a React function component or a custom React Hook function.

64. [error] no-eval — node_modules/rollup/dist/shared/loadConfigFile.js:358
new Function() is a code injection risk — avoid dynamic code execution

65. [error] no-eval — node_modules/rollup/dist/shared/loadConfigFile.js:366
new Function() is a code injection risk — avoid dynamic code execution

66. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:23603
React Hook "useOuterVariableScopeInParameter" is called in function "resolveNameHelper" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

67. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:46191
React Hook "useCaseSensitiveFileNames" is called in function "tryLoadInputFileForPath" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

68. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:46221
React Hook "useCaseSensitiveFileNames" is called in function "tryLoadInputFileForPath" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

69. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:46230
React Hook "useCaseSensitiveFileNames" is called in function "tryLoadInputFileForPath" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

70. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:143525
React Hook "useParent" is called in function "getHighlightSpans" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

71. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:143527
React Hook "useParent" is called in function "getHighlightSpans" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

72. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:143532
React Hook "useParent" is called in function "getHighlightSpans" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

73. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:143534
React Hook "useParent" is called in function "getHighlightSpans" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

74. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:143538
React Hook "useParent" is called in function "getHighlightSpans" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

75. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:143544
React Hook "useParent" is called in function "getHighlightSpans" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

76. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:143548
React Hook "useParent" is called in function "getHighlightSpans" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

77. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:143559
React Hook "useParent" is called in function "getHighlightSpans" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

78. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:143571
React Hook "useParent" is called in function "getFromAllDeclarations" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

79. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:189719
React Hook "useConfigFileExistenceInfoForOptimizedLoading" is called in function "updateProjectFoundUsingFind" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

80. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:189816
React Hook "useConfigFileExistenceInfoForOptimizedLoading" is called in function "configFileExistenceInfoForOptimizedLoading" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

81. [error] rules-of-hooks — node_modules/typescript/lib/typescript.js:189823
React Hook "useConfigFileExistenceInfoForOptimizedLoading" is called in function "configFileExistenceInfoForOptimizedReplay" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

82. [error] rules-of-hooks — node_modules/rollup/dist/es/shared/node-entry.js:2431
React Hook "useOriginalName" cannot be called in a class component. React Hooks must be called in a React function component or a custom React Hook function.

83. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:4693
React Hook "useFiber" is called in function "updateTextNode" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

84. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:4709
React Hook "useFiber" is called in function "updateElement" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

85. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:4719
React Hook "useFiber" is called in function "updatePortal" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

86. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:4732
React Hook "useFiber" is called in function "updateFragment" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

87. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:5083
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

88. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:5102
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

89. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:5139
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

90. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:5223
React Hook "useFiber" is called in function "reconcileChildFibersImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

91. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:5735
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

92. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:5820
React Hook "useThenable" is called conditionally. React Hooks must be called in the exact same order in every component render.

93. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:6360
React Hook "useThenable" is called in function "updateActionStateImpl" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

94. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:6450
React Hook "useEffectEventImpl" is called in function "updateEvent" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

95. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:6729
React Hook "useThenable" is called in function "updateTransition" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

96. [error] rules-of-hooks — node_modules/.vite/deps/react-dom_client.js:6736
React Hook "useThenable" is called in function "rerenderTransition" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

97. [error] rules-of-hooks — dist/assets/index-BLypF2ny.js:49
React Hook "useState" is called in function "jv" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

## Warnings (1129)

98. [warning] js-cache-property-access — node_modules/anymatch/node_modules/picomatch/lib/parse.js:390
prev.value.slice is read 4 times inside this loop — hoist into a const at the top of the loop body

99. [warning] js-cache-property-access — node_modules/anymatch/node_modules/picomatch/lib/parse.js:531
state.output.slice is read 5 times inside this loop — hoist into a const at the top of the loop body

100. [warning] js-set-map-lookups — node_modules/anymatch/node_modules/picomatch/lib/parse.js:391
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

101. [warning] js-set-map-lookups — node_modules/anymatch/node_modules/picomatch/lib/parse.js:394
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

102. [warning] js-set-map-lookups — node_modules/anymatch/node_modules/picomatch/lib/parse.js:404
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

103. [warning] js-set-map-lookups — node_modules/anymatch/node_modules/picomatch/lib/parse.js:485
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

104. [warning] js-set-map-lookups — node_modules/anymatch/node_modules/picomatch/lib/parse.js:517
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

105. [warning] js-combine-iterations — node_modules/anymatch/index.js:85
.map().map() iterates the array twice — combine into a single loop with .reduce() or for...of

106. [warning] js-combine-iterations — node_modules/anymatch/index.js:85
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

107. [warning] js-combine-iterations — node_modules/anymatch/index.js:89
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

108. [warning] no-dynamic-import-path — node_modules/any-promise/register.js:24
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

109. [warning] js-set-map-lookups — node_modules/autoprefixer/lib/declaration.js:126
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

110. [warning] js-set-map-lookups — node_modules/autoprefixer/lib/declaration.js:127
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

111. [warning] js-set-map-lookups — node_modules/@vitejs/plugin-react/dist/refresh-runtime.js:657
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

112. [warning] no-dynamic-import-path — node_modules/@vitejs/plugin-react/dist/refresh-runtime.js:667
Dynamic import path is not statically analyzable — use a string literal so the bundler can split this chunk

113. [warning] js-combine-iterations — node_modules/@vitejs/plugin-react/dist/index.js:142
.map().filter() iterates the array twice — combine into a single loop with .reduce() or for...of

114. [warning] no-dynamic-import-path — node_modules/@vitejs/plugin-react/dist/index.js:275
Dynamic import path is not statically analyzable — use a string literal so the bundler can split this chunk

115. [warning] no-barrel-import — node_modules/nanoid/index.js:2
Import from barrel/index file — import directly from the source module for better tree-shaking

116. [warning] no-barrel-import — node_modules/nanoid/index.browser.js:1
Import from barrel/index file — import directly from the source module for better tree-shaking

117. [warning] no-barrel-import — node_modules/nanoid/async/index.native.js:2
Import from barrel/index file — import directly from the source module for better tree-shaking

118. [warning] no-barrel-import — node_modules/nanoid/async/index.js:2
Import from barrel/index file — import directly from the source module for better tree-shaking

119. [warning] js-cache-property-access — node_modules/micromatch/node_modules/picomatch/lib/parse.js:390
prev.value.slice is read 4 times inside this loop — hoist into a const at the top of the loop body

120. [warning] js-cache-property-access — node_modules/micromatch/node_modules/picomatch/lib/parse.js:531
state.output.slice is read 5 times inside this loop — hoist into a const at the top of the loop body

121. [warning] js-set-map-lookups — node_modules/micromatch/node_modules/picomatch/lib/parse.js:391
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

122. [warning] js-set-map-lookups — node_modules/micromatch/node_modules/picomatch/lib/parse.js:394
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

123. [warning] js-set-map-lookups — node_modules/micromatch/node_modules/picomatch/lib/parse.js:404
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

124. [warning] js-set-map-lookups — node_modules/micromatch/node_modules/picomatch/lib/parse.js:485
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

125. [warning] js-set-map-lookups — node_modules/micromatch/node_modules/picomatch/lib/parse.js:517
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

126. [warning] no-dynamic-import-path — node_modules/lilconfig/src/index.js:59
Dynamic import path is not statically analyzable — use a string literal so the bundler can split this chunk

127. [warning] async-await-in-loop — node_modules/lilconfig/src/index.js:195
await inside a while-loop runs the calls sequentially — for independent operations, collect them and use `await Promise.all(items.map(...))` to run them concurrently

128. [warning] async-await-in-loop — node_modules/lilconfig/src/index.js:195
await inside a for…of loop runs the calls sequentially — for independent operations, collect them and use `await Promise.all(items.map(...))` to run them concurrently

129. [warning] js-set-map-lookups — node_modules/json5/lib/stringify.js:38
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

130. [warning] js-set-map-lookups — node_modules/json5/dist/index.js:1499
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

131. [warning] js-combine-iterations — node_modules/jiti/dist/jiti.js:1
.map().filter() iterates the array twice — combine into a single loop with .reduce() or for...of

132. [warning] js-set-map-lookups — node_modules/jiti/dist/jiti.js:1
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

133. [warning] js-set-map-lookups — node_modules/jiti/dist/jiti.js:1
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

134. [warning] js-set-map-lookups — node_modules/jiti/dist/jiti.js:1
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

135. [warning] js-set-map-lookups — node_modules/jiti/dist/jiti.js:1
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

136. [warning] js-set-map-lookups — node_modules/jiti/dist/jiti.js:1
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

137. [warning] js-set-map-lookups — node_modules/jiti/dist/jiti.js:1
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

138. [warning] js-set-map-lookups — node_modules/jiti/dist/jiti.js:1
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

139. [warning] js-cache-property-access — node_modules/jiti/dist/jiti.js:1
this.input.charCodeAt is read 3 times inside this loop — hoist into a const at the top of the loop body

140. [warning] js-cache-property-access — node_modules/jiti/dist/jiti.js:1
this.input.charCodeAt is read 3 times inside this loop — hoist into a const at the top of the loop body

141. [warning] js-cache-property-access — node_modules/jiti/dist/jiti.js:1
this.input.slice is read 3 times inside this loop — hoist into a const at the top of the loop body

142. [warning] js-set-map-lookups — node_modules/jiti/dist/jiti.js:1
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

143. [warning] js-set-map-lookups — node_modules/jiti/dist/jiti.js:1
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

144. [warning] js-combine-iterations — node_modules/jiti/dist/jiti.js:1
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

145. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:1
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

146. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:1
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

147. [warning] js-combine-iterations — node_modules/jiti/dist/babel.js:1
.map().forEach() iterates the array twice — combine into a single loop with .reduce() or for...of

148. [warning] js-combine-iterations — node_modules/jiti/dist/babel.js:1
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

149. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:1
specifier.local.name is read 4 times inside this loop — hoist into a const at the top of the loop body

150. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:1
_core.types.isIdentifier is read 3 times inside this loop — hoist into a const at the top of the loop body

151. [warning] js-hoist-regexp — node_modules/jiti/dist/babel.js:1
new RegExp() inside a loop — hoist to a module-level constant

152. [warning] js-hoist-regexp — node_modules/jiti/dist/babel.js:1
new RegExp() inside a loop — hoist to a module-level constant

153. [warning] js-combine-iterations — node_modules/jiti/dist/babel.js:1
.map().filter() iterates the array twice — combine into a single loop with .reduce() or for...of

154. [warning] js-flatmap-filter — node_modules/jiti/dist/babel.js:1
.map().filter(Boolean) iterates twice — use .flatMap() to transform and filter in a single pass

155. [warning] js-combine-iterations — node_modules/jiti/dist/babel.js:1
.map().filter() iterates the array twice — combine into a single loop with .reduce() or for...of

156. [warning] js-combine-iterations — node_modules/jiti/dist/babel.js:1
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

157. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:1
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

158. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:13
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

159. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:13
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

160. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:13
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

161. [warning] js-combine-iterations — node_modules/jiti/dist/babel.js:13
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

162. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:24
_core.types.cloneNode is read 3 times inside this loop — hoist into a const at the top of the loop body

163. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:24
_core.types.cloneNode is read 3 times inside this loop — hoist into a const at the top of the loop body

164. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:24
_core.types.cloneNode is read 12 times inside this loop — hoist into a const at the top of the loop body

165. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:24
_core.types.thisExpression is read 3 times inside this loop — hoist into a const at the top of the loop body

166. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:24
_core.types.callExpression is read 3 times inside this loop — hoist into a const at the top of the loop body

167. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:38
_core.types.cloneNode is read 4 times inside this loop — hoist into a const at the top of the loop body

168. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:38
_core.types.thisExpression is read 6 times inside this loop — hoist into a const at the top of the loop body

169. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:38
prop.scope.generateUidIdentifier is read 5 times inside this loop — hoist into a const at the top of the loop body

170. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:38
prop.node.kind is read 3 times inside this loop — hoist into a const at the top of the loop body

171. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:38
_core.types.isIdentifier is read 3 times inside this loop — hoist into a const at the top of the loop body

172. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:191
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

173. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:191
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

174. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:191
this.input.charCodeAt is read 8 times inside this loop — hoist into a const at the top of the loop body

175. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:191
this.state.pos is read 10 times inside this loop — hoist into a const at the top of the loop body

176. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:191
this.options.attachComment is read 4 times inside this loop — hoist into a const at the top of the loop body

177. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:191
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

178. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:191
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

179. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:191
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

180. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:191
this.state.pos is read 8 times inside this loop — hoist into a const at the top of the loop body

181. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:191
this.state.pos is read 10 times inside this loop — hoist into a const at the top of the loop body

182. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:191
this.input.slice is read 3 times inside this loop — hoist into a const at the top of the loop body

183. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:191
this.state.pos is read 7 times inside this loop — hoist into a const at the top of the loop body

184. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:191
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

185. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:191
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

186. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:191
this.state.startLoc is read 3 times inside this loop — hoist into a const at the top of the loop body

187. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:191
node.key.name is read 4 times inside this loop — hoist into a const at the top of the loop body

188. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:206
core.types.cloneNode is read 5 times inside this loop — hoist into a const at the top of the loop body

189. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:208
stmt.node.specifiers is read 3 times inside this loop — hoist into a const at the top of the loop body

190. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:208
specifier.local.name is read 4 times inside this loop — hoist into a const at the top of the loop body

191. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:215
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

192. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:215
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

193. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:215
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

194. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:215
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

195. [warning] js-index-maps — node_modules/jiti/dist/babel.js:215
array.findIndex() in a loop is O(n*m) — build a Map for O(1) lookups

196. [warning] js-cache-property-access — node_modules/jiti/dist/babel.js:227
id.node.name is read 3 times inside this loop — hoist into a const at the top of the loop body

197. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:227
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

198. [warning] js-index-maps — node_modules/jiti/dist/babel.js:227
array.find() in a loop is O(n*m) — build a Map for O(1) lookups

199. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:227
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

200. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:227
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

201. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:227
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

202. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:227
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

203. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:227
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

204. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:227
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

205. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:227
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

206. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:227
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

207. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:227
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

208. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:227
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

209. [warning] js-set-map-lookups — node_modules/jiti/dist/babel.js:227
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

210. [warning] js-set-map-lookups — node_modules/is-glob/index.js:31
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

211. [warning] js-set-map-lookups — node_modules/is-glob/index.js:37
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

212. [warning] js-set-map-lookups — node_modules/is-glob/index.js:45
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

213. [warning] js-set-map-lookups — node_modules/is-glob/index.js:47
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

214. [warning] js-set-map-lookups — node_modules/is-glob/index.js:55
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

215. [warning] js-set-map-lookups — node_modules/is-glob/index.js:57
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

216. [warning] js-set-map-lookups — node_modules/is-glob/index.js:66
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

217. [warning] js-set-map-lookups — node_modules/is-glob/index.js:69
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

218. [warning] js-set-map-lookups — node_modules/is-glob/index.js:71
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

219. [warning] js-set-map-lookups — node_modules/is-glob/index.js:85
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

220. [warning] js-set-map-lookups — node_modules/is-glob/index.js:117
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

221. [warning] no-dynamic-import-path — node_modules/is-core-module/test/index.js:33
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

222. [warning] no-dynamic-import-path — node_modules/is-core-module/test/index.js:53
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

223. [warning] no-dynamic-import-path — node_modules/is-core-module/test/index.js:59
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

224. [warning] no-dynamic-import-path — node_modules/is-core-module/test/index.js:64
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

225. [warning] js-set-map-lookups — node_modules/is-core-module/test/index.js:101
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

226. [warning] no-dynamic-import-path — node_modules/is-core-module/test/index.js:109
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

227. [warning] no-dynamic-import-path — node_modules/is-core-module/test/index.js:116
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

228. [warning] no-dynamic-import-path — node_modules/is-core-module/test/index.js:124
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

229. [warning] no-dynamic-import-path — node_modules/is-core-module/test/index.js:129
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

230. [warning] async-await-in-loop — node_modules/ghostty-web/dist/ghostty-web.js:26
await inside a for…of loop runs the calls sequentially — for independent operations, collect them and use `await Promise.all(items.map(...))` to run them concurrently

231. [warning] async-await-in-loop — node_modules/ghostty-web/dist/ghostty-web.js:1064
await inside a for…of loop runs the calls sequentially — for independent operations, collect them and use `await Promise.all(items.map(...))` to run them concurrently

232. [warning] client-passive-event-listeners — node_modules/ghostty-web/dist/ghostty-web.js:2336
"touchend" listener without { passive: true } — blocks scrolling performance. Only add { passive: true } if the handler does NOT call event.preventDefault() (passive listeners silently ignore preventDefault())

233. [warning] client-passive-event-listeners — node_modules/ghostty-web/dist/ghostty-web.js:2373
"wheel" listener without { passive: true } — blocks scrolling performance. Only add { passive: true } if the handler does NOT call event.preventDefault() (passive listeners silently ignore preventDefault())

234. [warning] async-await-in-loop — node_modules/fastq/test/promise.js:310
await inside a for…of loop runs the calls sequentially — for independent operations, collect them and use `await Promise.all(items.map(...))` to run them concurrently

235. [warning] js-length-check-first — node_modules/fast-glob/out/providers/matchers/partial.js:21
.every() over an array compared to another array — short-circuit with `a.length === b.length && a.every(...)` so unequal-length arrays exit immediately

236. [warning] js-set-map-lookups — node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts:30
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

237. [warning] js-set-map-lookups — node_modules/@jridgewell/sourcemap-codec/src/scopes.ts:145
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

238. [warning] js-set-map-lookups — node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js:228
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

239. [warning] js-set-map-lookups — node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js:400
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

240. [warning] async-await-in-loop — node_modules/escalade/dist/index.js:17
await inside a while-loop runs the calls sequentially — for independent operations, collect them and use `await Promise.all(items.map(...))` to run them concurrently

241. [warning] no-dynamic-import-path — node_modules/esbuild/install.js:95
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

242. [warning] js-cache-property-access — node_modules/readdirp/node_modules/picomatch/lib/parse.js:390
prev.value.slice is read 4 times inside this loop — hoist into a const at the top of the loop body

243. [warning] js-cache-property-access — node_modules/readdirp/node_modules/picomatch/lib/parse.js:531
state.output.slice is read 5 times inside this loop — hoist into a const at the top of the loop body

244. [warning] js-set-map-lookups — node_modules/readdirp/node_modules/picomatch/lib/parse.js:391
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

245. [warning] js-set-map-lookups — node_modules/readdirp/node_modules/picomatch/lib/parse.js:394
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

246. [warning] js-set-map-lookups — node_modules/readdirp/node_modules/picomatch/lib/parse.js:404
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

247. [warning] js-set-map-lookups — node_modules/readdirp/node_modules/picomatch/lib/parse.js:485
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

248. [warning] js-set-map-lookups — node_modules/readdirp/node_modules/picomatch/lib/parse.js:517
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

249. [warning] async-await-in-loop — node_modules/readdirp/index.js:128
await inside a while-loop runs the calls sequentially — for independent operations, collect them and use `await Promise.all(items.map(...))` to run them concurrently

250. [warning] async-await-in-loop — node_modules/readdirp/index.js:131
await inside a for…of loop runs the calls sequentially — for independent operations, collect them and use `await Promise.all(items.map(...))` to run them concurrently

251. [warning] no-dynamic-import-path — node_modules/browserslist/node.js:257
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

252. [warning] no-dynamic-import-path — node_modules/browserslist/node.js:281
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

253. [warning] no-dynamic-import-path — node_modules/browserslist/node.js:334
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

254. [warning] no-dynamic-import-path — node_modules/browserslist/node.js:354
Dynamic require() path is not statically analyzable — use a string literal so the bundler can trace this dependency

255. [warning] js-combine-iterations — node_modules/browserslist/node.js:372
.filter().forEach() iterates the array twice — combine into a single loop with .reduce() or for...of

256. [warning] js-combine-iterations — node_modules/browserslist/node.js:372
.map().filter() iterates the array twice — combine into a single loop with .reduce() or for...of

257. [warning] js-set-map-lookups — node_modules/browserslist/index.js:72
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

258. [warning] js-combine-iterations — node_modules/browserslist/index.js:617
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

259. [warning] js-combine-iterations — node_modules/browserslist/index.js:784
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

260. [warning] js-combine-iterations — node_modules/browserslist/index.js:1056
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

261. [warning] js-combine-iterations — node_modules/browserslist/index.js:1070
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

262. [warning] js-combine-iterations — node_modules/browserslist/index.js:1070
.filter().filter() iterates the array twice — combine into a single loop with .reduce() or for...of

263. [warning] js-combine-iterations — node_modules/browserslist/index.js:1089
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

264. [warning] js-combine-iterations — node_modules/browserslist/index.js:1097
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

265. [warning] js-combine-iterations — node_modules/browserslist/index.js:1108
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

266. [warning] js-combine-iterations — node_modules/browserslist/index.js:1128
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

267. [warning] js-combine-iterations — node_modules/browserslist/index.js:1190
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

268. [warning] js-set-map-lookups — node_modules/browserslist/index.js:1319
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

269. [warning] js-set-map-lookups — node_modules/braces/lib/parse.js:321
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

270. [warning] js-set-map-lookups — node_modules/@babel/types/lib/validators/isNodesEquivalent.js:42
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

271. [warning] js-set-map-lookups — node_modules/@babel/types/lib/validators/isBinding.js:18
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

272. [warning] js-combine-iterations — node_modules/react-refresh/cjs/react-refresh-babel.production.js:137
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

273. [warning] js-set-map-lookups — node_modules/react-refresh/cjs/react-refresh-babel.production.js:196
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

274. [warning] js-combine-iterations — node_modules/react-refresh/cjs/react-refresh-babel.development.js:138
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

275. [warning] js-set-map-lookups — node_modules/react-refresh/cjs/react-refresh-babel.development.js:197
array.indexOf() in a loop is O(n) per call — convert to a Set for O(1) lookups

276. [warning] js-set-map-lookups — node_modules/autoprefixer/lib/transition.js:38
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

277. [warning] js-set-map-lookups — node_modules/autoprefixer/lib/transition.js:43
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

278. [warning] js-combine-iterations — node_modules/autoprefixer/lib/transition.js:138
.filter().map() iterates the array twice — combine into a single loop with .reduce() or for...of

279. [warning] js-combine-iterations — node_modules/autoprefixer/lib/transition.js:138
.map().filter() iterates the array twice — combine into a single loop with .reduce() or for...of

280. [warning] js-set-map-lookups — node_modules/autoprefixer/lib/transition.js:147
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

281. [warning] js-set-map-lookups — node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js:20
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

282. [warning] js-set-map-lookups — node_modules/autoprefixer/lib/resolution.js:69
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

283. [warning] js-set-map-lookups — node_modules/autoprefixer/lib/resolution.js:70
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

284. [warning] js-set-map-lookups — node_modules/autoprefixer/lib/processor.js:490
array.includes() in a loop is O(n) per call — convert to a Set for O(1) lookups

285. [warning] js-set-map-lookups — node_modules/autoprefixer/lib/processor.js:494
array.includes() in a loop is O(n)

---

_Issue body truncated. See the full report at [react.review/dashboard](https://react.review/dashboard)._

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.