Skip to content

Remove react/prop-types from the recommended config #3753

@Arkellys

Description

@Arkellys

React 19 will remove propTypes validation for function:

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.

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