Skip to content

defaultProps getting removed from React 18.3 #22

Closed
@rafma0

Description

@rafma0

Hi,

Recently the console started displaying a message about defaultProps being removed in the next major React release and it needs to to be updated

Warning: Wrapper: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
  at Wrapper (webpack-internal:///(app-client)/./node_modules/spinners-react/lib/esm/withSharedProps-a1728349.js:60:27)

Thank you :)

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