Skip to content

Add eslint-plugin-react-hooks (per React's recommendation) #821

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

Merged
merged 1 commit into from
Jun 23, 2020

Conversation

M-i-k-e-l
Copy link
Collaborator

See https://reactjs.org/docs/hooks-reference.html#usecallback.
See the "Note" at the end:

We recommend using the exhaustive-deps rule as part of our eslint-plugin-react-hooks package. It warns when dependencies are specified incorrectly and suggests a fix.

@ethanshar ethanshar merged commit d7afcdc into master Jun 23, 2020
@M-i-k-e-l M-i-k-e-l deleted the feat/add-eslint-plugin-react-hooks branch September 21, 2020 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants