Bug: eslint-plugin-react-hooks exhaustive-deps
rule shouldn't warn when using an object's property
#28316
Labels
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
eslint-plugin-react-hooks version: 4.6.0
Example code:
This is the recommended way of specifying the dependency for this method, see remix-run/react-router#10336.
Expected
There's no warning.
Thanks!
The text was updated successfully, but these errors were encountered: