Skip to content

Refactor components to stop using defaultProps #2758

@manuelpuyol

Description

@manuelpuyol

The use of defaultProps for function components is going to be removed in a future major version of React, and they are already warning users about it in the latest RC:

Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

We should update our component stop using defaultProps so we are unblocked before the next version releases.

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