-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[core] Remove all .defaultProps usages #16542
[core] Remove all .defaultProps usages #16542
Conversation
@material-ui/core: parsed: +0.13% , gzip: +0.07% Details of bundle changes.Comparing: 86de525...fd024b2
|
Why were There are quite a few issues/commits related to this, but I couldn't find in any the reason for this (react-docgen? Functional components?). Can anyone explain, or link to the explanation? |
@Izhaki 1. Simpler 2. React talks about potential removal 3. required for |
https://twitter.com/dan_abramov/status/1133878326358171650?lang=en https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md |
Why not? Finishes a section of #15231