-
Notifications
You must be signed in to change notification settings - Fork 25
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
Refactor default props in preparations for react v8 migration #3016
Refactor default props in preparations for react v8 migration #3016
Conversation
…tions for react18
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…tions for react18
…rops in utility functions
Closing as this was superseeded by #3027 |
Summary
Refactor default props in preparations for react a8 migration
Description
This pull request includes significant changes to the handling of default props in various components. The changes focus on removing the
defaultProps
static property and replacing it with default inline parameter values in function and arrow function components. This is in preparation for the react18 migration.Some key notes,
This PR changes were made mostly using a codemod to help modify repetitive code.