Skip to content

NextJS - Support for defaultProps #4

@johanguse

Description

@johanguse

Hello guys,
I installed the lite version on a Next.js v14 project and encountered a warning. I'm wondering if this issue is something that is planned to be addressed in future versions of react-share-lite or react-share-kit?

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

I'm using PNPM, Next 14.1.0

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