[l10n] Stop re-exporting locales
from package root
#10919
Labels
breaking change
component: data grid
This is the name of the generic UI component, not the React module!
core
Infrastructure work going on behind the scenes
l10n
localization
performance
v7.x
We currently re-export locales from in the root
index
file so that they are available from bothimport { frFR } from '@mui/x-data-grid'
andimport { frFR } from '@mui/x-data-grid/locales'
.mui-x/packages/grid/x-data-grid/src/index.ts
Line 13 in 947619d
We should avoid root-level exporting as it doesn't solve any particular problem besides making the package seem bulkier.
Related to mui/material-ui#39525
Search keywords:
The text was updated successfully, but these errors were encountered: