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
In React 19, we’re removing the propType checks from the React package, and using them will be silently ignored. If you’re using propTypes, we recommend migrating to TypeScript or another type-checking solution.
I suppose it can wait for v19 official release, but given this change I think the rule react/prop-types should be removed from the recommended configuration.
The text was updated successfully, but these errors were encountered:
React 19 will remove
propTypes
validation for function:I suppose it can wait for v19 official release, but given this change I think the rule
react/prop-types
should be removed from the recommended configuration.The text was updated successfully, but these errors were encountered: