Skip to content

Bug: eslint-plugin-react-hooks optional chaining in deps #19661

Closed
@rteixeirax

Description

@rteixeirax

Packages

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

The issue #18819 still happens with eslint-plugin-react-hooks@4.0.8.

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

image

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions