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: default props to new way to not throw warning #264

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yr-samuel
Copy link

@yr-samuel yr-samuel commented Jun 25, 2024

Make a modern way to pass defaultProps to component props to avoid throw warning.

Warning: ForwardRef: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.

@antwanvdm
Copy link

Nice work! Can't wait for this to be released :)

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.

4 participants