Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deprecation): disuse deprecated React functional component defaultProps feature #452

Closed
wants to merge 3 commits into from

Conversation

klarstrup
Copy link
Contributor

In the next major React version, defaultProps will only be supported on class components. react-redux's connect returns a functional component which will not support this in that future.

see https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md and facebook/react#16210

fixes #450

In the next major React version, `defaultProps` will only be supported on class components.
`react-redux`'s `connect` returns a functional component which will not support this in that future.

fixes hello-pangea#450
@vercel
Copy link

vercel bot commented Jan 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
dnd ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 28, 2023 at 2:56PM (UTC)

@xiaotianxt
Copy link

I managed to fix this by using pnpm@8.1.1 #544

@joao-vasconcelos
Copy link

Hello, any update on this?
Thank you for keeping this package working <3

@namnhfreelancer
Copy link

Any update about merging it ?

@100terres
Copy link
Collaborator

100terres commented Jun 30, 2023

We made the required change in this PR and it will be part of the next release! 😊

Thank you for your contribution!

@100terres 100terres closed this Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants