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

[DataGrid] Reduce dependency on lodash #450

Merged
merged 2 commits into from
Oct 20, 2020

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Oct 17, 2020

One part of #7. Reduce bundle size.

@oliviertassinari oliviertassinari added performance component: data grid This is the name of the generic UI component, not the React module! labels Oct 17, 2020
@oliviertassinari oliviertassinari changed the title [DataGrid] Remove dependency on lodash [DataGrid] Reduce dependency on lodash Oct 20, 2020
@oliviertassinari
Copy link
Member Author

I have only taken care of debouncing. We save ~1kB gzipped https://bundlephobia.com/result?p=lodash.debounce

@oliviertassinari
Copy link
Member Author

isEqual is a larger chunk: https://bundlephobia.com/result?p=lodash.isequal.

@oliviertassinari oliviertassinari merged commit 1a3bf5f into mui:master Oct 20, 2020
@oliviertassinari oliviertassinari deleted the remove-lodash branch October 20, 2020 17:34
dtassone pushed a commit to dtassone/material-ui-x that referenced this pull request Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid 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

2 participants