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

defaultProps error #2508

Closed
b310L opened this issue Feb 3, 2024 · 3 comments
Closed

defaultProps error #2508

b310L opened this issue Feb 3, 2024 · 3 comments

Comments

@b310L
Copy link

b310L commented Feb 3, 2024

I got this error in console :
Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.

@nehalist
Copy link

The PR for this fix has already been merged; #2452 - unfortunately no new version has been released since.

@b310L
Copy link
Author

b310L commented Feb 14, 2024

Even though the new version is not released, is there a way to prevent this error from appearing?

@plouc
Copy link
Owner

plouc commented Mar 7, 2024

Should be fixed in 0.85.0.

@plouc plouc closed this as completed Mar 7, 2024
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

3 participants