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 major release. Use JavaScript default parameters instead #102

Closed
jahirfiquitiva opened this issue Apr 12, 2023 · 2 comments

Comments

@jahirfiquitiva
Copy link

jahirfiquitiva commented Apr 12, 2023

I'm getting this error with Next.js 13.3.0, React 18.2.0 and react-compare-image 3.3.0

Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead
@jahirfiquitiva
Copy link
Author

Just noticed there's an open PR for this: #100

Please merge it soon @junkboy0315

@tam315
Copy link
Owner

tam315 commented Apr 14, 2023

released as v3.4.0!

@tam315 tam315 closed this as completed Apr 14, 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

No branches or pull requests

2 participants