Skip to content

Support for defaultProps will be removed from function components in a future React major release. #3087

Open
@Nfinished

Description

@Nfinished

reactjs/rfcs#107

Seems like they're moving ahead with this as it now throws on React 18

Image 2022-12-16 at 11 07 07 AM

Activity

welcome

welcome commented on Dec 16, 2022

@welcome

Thanks for opening your first issue! 👋
If you have found this library helpful, please star it. A maintainer will try to respond within 7 days. If you haven’t heard anything by then, please bump this thread.

Nfinished

Nfinished commented on Jan 9, 2023

@Nfinished
Author

bump

Nfinished

Nfinished commented on Jan 20, 2023

@Nfinished
Author

bump

mathbles703

mathbles703 commented on Aug 29, 2024

@mathbles703

Yeah started seeing this all over my application during my latest build. So I guess we have to wait until the library handles this change and update both together. Will keep watching

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @Nfinished@mathbles703

        Issue actions

          Support for defaultProps will be removed from function components in a future React major release. · Issue #3087 · salesforce/design-system-react