-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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
[codemod] Add codemod for removing system props #42282
[codemod] Add codemod for removing system props #42282
Conversation
Netlify deploy previewhttps://deploy-preview-42282--material-ui.netlify.app/ Bundle size report |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Only a small nit pick
} | ||
|
||
describe('@mui/codemod', () => { | ||
describe('v6.0.0 - removeSystemProps', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've approved but noticed that we didn't add deprecation warnings for the props, may I ask you to do that @siriwatknp? That way we can close #42259
It's also valid to do it in a different PR, let me know if you prefer that instead
Thanks for pointing out, I am about to do that in a separate one. |
Tested with the core repo, and everything looks good.