Skip to content

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

Closed
xiaotianxt wants to merge 4 commits intohello-pangea:mainfrom
xiaotianxt:main
Closed

fix(deprecation): disuse deprecated React functional component defaultProps feature#544
xiaotianxt wants to merge 4 commits intohello-pangea:mainfrom
xiaotianxt:main

Conversation

@xiaotianxt
Copy link

I just tried to fix the failed CircleCI test on #452, let's see if this works.

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 Apr 5, 2023

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

Name Status Preview Comments Updated (UTC)
dnd ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 5, 2023 6:10pm

@100terres
Copy link
Collaborator

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

Development

Successfully merging this pull request may close these issues.

3 participants