Skip to content

Suggestion: Rule to Disallow use of forwardRef in React 19 #3915

Open
@NishargShah

Description

@NishargShah

Is there an existing issue for this?

  • I have searched the existing issues and my issue is unique
  • My issue appears in the command-line and not only in the text editor

Description Overview

React 19 is here and still we don't force user to not use forwardRef, so is it good to have the rule

Expected Behavior

eslint-plugin-react version

V7.37.4

eslint version

V9

node version

V22

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions