-
Notifications
You must be signed in to change notification settings - Fork 41
removed deprecated defaultProps #391
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
Conversation
|
Hey @AnnMarieW thanks for this! It's working great on my end! Any reason to keep it in draft? I'm happy to do a |
|
Could we do something like what you are doing with the persistence: |
I don't think so - defaultProps is deprecated. |
Its a basic variable, doesnt go anywhere. 😏 |
|
Thanks for taking a look! I just wanted to do one more review and add some notes and a changelog:
|
|
I was confused by the typo in the @BSd3v post above which shows Passing the default props like how he suggested is a more elegant solution than what I have so far: Let's close my PR in favor of his when he does the PR. |
Sure, sounds good to me! I'll wait on that pr, then. Let me know if I can help push anything along @BSd3v, @AnnMarieW ! |
|
closed in favor of #392 |
Closed #390
This fixes the console error about defaultProps being removed in React 19