Skip to content

Bug: eslint-plugin-react-hooks (4.1.2) - The prop value with an expression type of ChainExpression could not be resolved #19940

Closed
@LauraBeatris

Description

@LauraBeatris

React version: ^16.10.2

Steps To Reproduce

  1. Install eslint-plugin-react-hooks@4.1.2
  2. Run yarn eslint src --ext=js,jsx,ts,tsx

Related issue: #19810 (comment)

The current behavior

The linter is showing the following message:

The prop value with an expression type of ChainExpression could not be resolved. Please file issue to get this fixed immediately.

It started to appear on eslint-plugin-react-hooks@4.1.2

The expected behavior

Do not show the message

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