Skip to content

Depreciation Warning <Component>.defaultProps #955

@sarojshakya01

Description

@sarojshakya01

I am encountering following irritating warning in my console. Has it been addressed in the beta version? Will be it be updated in the future release?
"Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions