[DataGrid] Remove dependency on lodash #7
Labels
component: data grid
This is the name of the generic UI component, not the React module!
performance
Milestone
While lodash was inlined in the repository (I guess to hide, on the surface, the dependency on this library), I don't think that it removes the fact that we depend on it. I would be in favor of completely removing its modules from the codebase.
Possible migration plan:
import { denounce } from @material-ui/core
module. We could also move the module to@material-ui/utils
instead of the core if that makes more sense. This module also has the advantage of being deduplicated with the core components, sharing the simple source.https://github.com/mui-org/material-ui-x/blob/fb5af45b5d74ca818fc6945af17400cec0ee21a2/packages/grid/src/hooks/root/useColumns.tsx#L162
The text was updated successfully, but these errors were encountered: