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

[pickers] Remove unused components from static variants #26052

Merged
merged 1 commit into from
Apr 29, 2021

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Apr 29, 2021

The input components are unused in the static variants. This is now clear after all the inlining work. The input props are also unused but this requires refactoring of Picker (which is the goal). But we can reduce the amount of work we have to do to better compose Picker in smaller steps that can live on their own.

Savings are minimal probably because we bundle them in some other way. Once all these refactorings are done, the bundle should be much smaller.

@eps1lon eps1lon added performance component: pickers This is the name of the generic UI component, not the React module! labels Apr 29, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Apr 29, 2021

Details of bundle changes

Generated by 🚫 dangerJS against 1f21075

@eps1lon eps1lon marked this pull request as ready for review April 29, 2021 13:06
@eps1lon eps1lon merged commit 39688fc into mui:next Apr 29, 2021
@eps1lon eps1lon deleted the feat/pickers/static-variant-simpl branch April 29, 2021 20:57
@oliviertassinari

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pickers This is the name of the generic UI component, not the React module! performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants