-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[charts] Flatten imports from @mui/utils
and @mui/system
#15603
Conversation
Deploy preview: https://deploy-preview-15603--material-ui-x.netlify.app/ |
@@ -12,7 +12,6 @@ import { ChartsAxisHighlight } from '@mui/x-charts/ChartsAxisHighlight'; | |||
import { ChartsTooltip } from '@mui/x-charts/ChartsTooltip'; | |||
import { ChartsClipPath } from '@mui/x-charts/ChartsClipPath'; | |||
import { useBarChartProps } from '@mui/x-charts/internals'; | |||
import { BarPlotProps } from '@mui/x-charts'; |
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.
The lint should catch that one no?
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 found why (thanks to npx eslint --print-config [file path]
config.
Our config was such that it prevents you to do a root import of the package itself
CodSpeed Performance ReportMerging #15603 will improve performances by 41.03%Comparing Summary
Benchmarks breakdown
|
1bcff76
to
a2d1353
Compare
Co-authored-by: Lukas Tyla <llukas.tyla@gmail.com> Signed-off-by: Alexandre Fauquette <45398769+alexfauquette@users.noreply.github.com>
Signed-off-by: Alexandre Fauquette <45398769+alexfauquette@users.noreply.github.com> Co-authored-by: Lukas Tyla <llukas.tyla@gmail.com>
Part of #10354