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

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

Open
Nfinished opened this issue Dec 16, 2022 · 4 comments

Comments

@Nfinished
Copy link

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

@welcome
Copy link

welcome bot commented Dec 16, 2022

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
Copy link
Author

bump

1 similar comment
@Nfinished
Copy link
Author

bump

@mathbles703
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants