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

Hey great library! Getting a warning though for defaultProps, Would be honored to get an update soon. #2

Open
SandersTDavid opened this issue Apr 2, 2024 · 1 comment

Comments

@SandersTDavid
Copy link

Warning messages:

  • Warning: I
  • Warning: h
  • Warning: u
  • Warning: D
  • Warning: O
  • Warning: p
  • Warning: s
  • Warning: j
    Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

I'd be happy to share more if you are active and need it but just not got time right now.

@hrafnkellpalsson
Copy link

I'd be willing to help if that's wanted @dsanchez07, switching from defaultProps to JavaScript default parameters seems straight forward enough.

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