You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, since react 19 ref should probably be a default exception for react/prop-types rule (for functional components), as ref is now supported by functional components by default, without wrapping them in the forwardRef. For now adding ref to the react/prop-typesoptions.ignore can be used as a workaround, i think.
Is there an existing issue for this?
Description Overview
React 19 is here and still we don't force user to not use
forwardRef
, so is it good to have the ruleExpected Behavior
eslint-plugin-react version
V7.37.4
eslint version
V9
node version
V22
The text was updated successfully, but these errors were encountered: