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. #131

Open
omriluz opened this issue May 10, 2024 · 3 comments

Comments

@omriluz
Copy link

omriluz commented May 10, 2024

Hey since React 18.3 is removed defaultProps, I would think it will be better to change it to regular javascript default params so the error would go away, I am okay with working on it if you assign it to me.

@miukimiu
Copy link
Owner

Thanks, @omriluz. I might change everything to TS.

@miukimiu
Copy link
Owner

@omriluz the PR that introduces TS is in progress: #132.

Let me know if you want to help. 🎉

@omriluz
Copy link
Author

omriluz commented May 22, 2024

@miukimiu hey yeah i want to!

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