dillon1000/react
Commit
Browse files [eslint] Check forwardRef callbacks (#17255)
* [eslint] Check forwardRef callbacks (#17220) * [eslint] Make tests more realistic (#17220) * [eslint] Check anonymous callback of React.memo for rules-of-hooks (#17220) * [eslint] Add tests for callbacks not known to be components (#17220) * [eslint] Correct comments and add another test (#17220)
Changed paths2 files
First-parent comparisonpackages/eslint-plugin-react-hooks/__tests__/ESLintRulesOfHooks-test.js ModifiedM packages/eslint-plugin-react-hooks/src/RulesOfHooks.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…