React: Bug: eslint-plugin-react-hooks optional chaining in deps

Created on 20 Aug 2020  路  5Comments  路  Source: facebook/react

Packages

  • "react": "^16.13.1"
  • "eslint-plugin-react-hooks": "^4.0.8"

The issue #18819 still happens with [email protected].

Using the example code from the other issue gives the following errors:

image

image

ESLint Rules Bug

Most helpful comment

[email protected] should have the fix.

All 5 comments

Thanks, would you like to look into a fix?

Hi,
I can look into this if no one else is working on it.

Sounds good.

Thanks @pfongkye.

[email protected] should have the fix.

Was this page helpful?
0 / 5 - 0 ratings