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 default props is almost deprecated. #128

Open
kirexp opened this issue Sep 22, 2023 · 5 comments
Open

Support for default props is almost deprecated. #128

kirexp opened this issue Sep 22, 2023 · 5 comments

Comments

@kirexp
Copy link

kirexp commented Sep 22, 2023

Apparently default props will be depreciated soon therefore need some changes in this library. wondering if someone has had the same issue and got fix ready?
Otherwise what is the policy with contribution?

image
@bohdan-heiko-cpart
Copy link

got same warning in devtools

@supertick
Copy link

supertick commented May 20, 2024

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

Great project by the way ! .. Thanks

@cepreu90
Copy link

cepreu90 commented Jul 8, 2024

@jcmcneal Hey mate. We are a few waiting for the the default props issue to be fixed. Are you or anyone looking into this? - I got a PR ready if needed.

@jcmcneal
Copy link
Owner

Sorry to leave everyone hanging. This library never got the community support I need to share the load so I don't get much time to update it very often.

That being said, I have decided to do a major refactor in typescript which is underway. I can't promise any timelines, but I'd love to resolve all the open issues as possible along the way. Would you like your PR merged in the meantime?

@cepreu90
Copy link

No worries. Sounds good with the ts version. If you add me I'll push it and make a pull request. It's a small fix where I just added the default props as default params instead.

AsjidAle added a commit to AsjidAle/react-step-wizard that referenced this issue Dec 17, 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

5 participants