Skip to content

Rules do not apply to components that share their reference #3

@ChristBM

Description

@ChristBM
  • The rules do not apply to components that share your reference. It is possible to use React hooks inside a component that uses forwardRef. The other rules are not triggered either.

Visual proof:
Screenshot 2022-12-08 205658

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions