dillon1000/react
Commit
Browse files [ESLint] Add more cases to exhaustive-deps rule (#14930)
* Add better message for literal dependencies * Warn about ref.current in cleanup phase * Fix wrong comment * Tweak wording
Changed paths2 files
First-parent comparisonpackages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js ModifiedM packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…