-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Components refactor Mobile to ignore exhuastive-deps
#44207
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
Components refactor Mobile to ignore exhuastive-deps
#44207
Conversation
|
Size Change: 0 B Total Size: 1.26 MB ℹ️ View Unchanged
|
Good point @chad1008, I advocate the idea of deferring to the native team to handle the review of the dependencies, especially, since some of them might require further exploration, thanks! We don't have too much bandwidth currently for tackling this in the short term but I hope we could do it in the future. UPDATE: As a follow-up task, I created this issue to continue the refactor of the native files. |
mirka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me 👍
What?
Refactor the Mobile components to ignore the
exhaustive-depseslint rule.Why?
Because the Components squad generally lacks the React Native expertise and tools/environments to effectively refactor these components, we'll defer to the native team to handle when they're ready.
How?
Added inline ignore comments to all
exhaustive-depswarnings in theMobilecomponent directoryTesting Instructions
npx eslint --rule 'react-hooks/exhaustive-deps: warn' packages/components/src/mobile