-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enforce react-hooks/exhaustive-deps
#9516
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9516 +/- ##
==========================================
+ Coverage 74.24% 75.79% +1.54%
==========================================
Files 1332 1422 +90
Lines 40817 42917 +2100
Branches 7634 7902 +268
==========================================
+ Hits 30306 32530 +2224
+ Misses 10511 10387 -124 ☔ View full report in Codecov by Sentry. |
Playwright test resultsDetails Open report ↗︎ Flaky testsmsedge › tests/extensionConsole/activation.spec.ts › can activate a mod with no config options Skipped testschrome › tests/runtime/googleSheetsIntegration.spec.ts › can activate a google spreadsheet mod with config options |
No loom links were found in the first post. Please add one there if you'd like to it to appear on Slack. Do not edit this comment manually. |
What does this PR do?
react-hooks/exhaustive-deps
from warning to errorDiscussion
useAsyncEffect
, but React complains about the use of async in hook callbacksreact-hooks/exhaustive-deps
also can't be compiled with React compiler. (You'll see react compiler lint rule warnings in places we've suppressedreact-hooks/exhaustive-deps
warningsExample react-compiler lint warning:
For more information on our expectations for the PR process, see the
code review principles doc