Skip to content

Conversation

@mnajdova
Copy link
Member

@mnajdova mnajdova commented May 12, 2021

BREAKING CHANGE v5

StyledEngineProvider location is changed. The previous location is deprecated, it will be removed in v5.beta.

-import StyledEngineProvider from '@material-ui/core/StyledEngineProvider ';
+import { StyledEngineProvider } from '@material-ui/core/styles';

Closes #23208
One of #20012

*/
export { default as StylesProvider } from './StyledEngineProvider';
export { default as StyledEngineProvider } from './StyledEngineProvider';
export { StyledEngineProvider } from './styles';
Copy link
Member Author

@mnajdova mnajdova May 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we are changing it a second time already 😞

@mui-pr-bot
Copy link

mui-pr-bot commented May 12, 2021

Details of bundle changes (experimental)

Generated by 🚫 dangerJS against 110fabd

@mnajdova mnajdova marked this pull request as ready for review May 12, 2021 11:28
@mnajdova mnajdova requested a review from oliviertassinari May 12, 2021 12:47
@oliviertassinari oliviertassinari added the breaking change Introduces changes that are not backward compatible. label May 12, 2021
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ I have updated the PR's description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Introduces changes that are not backward compatible.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Module not found @material-ui/core/ThemeProvider when minimizing bundle size in create react app

3 participants