Using eslint-plugin-react-hooks
together with eslint-plugin-react-compiler
#18
Unanswered
atomrevival
asked this question in
General Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all! Just started experimenting with the React Compiler and was wondering if the rules for exhaustive deps are correct when using the compiler?
I assumed that it wasn't necessary to use
useCallback
anymore on a function as a dependency, but theeslint-plugin-react-hooks
plugin doesn't seem to agree? (Trying out the RC version5.1.0-rc-8269d55d-20240802
as well just to see if I missed anything). Should I use this plugin at all when using the compiler?Given the code below:
Beta Was this translation helpful? Give feedback.
All reactions