Open mlenser opened 2 years ago
As this document says https://mui.com/material-ui/guides/styled-engine/
❗ Warning: Using styled-components as an engine at this moment is not working when used in a SSR projects. The reason is that the babel-plugin-styled-components is not picking up correctly the usages of the styled() utility inside the @mui packages. For more details, take a look at this issue. We strongly recommend using emotion for SSR projects.
I think it's better to use emotion
.
styled-components
is an official option for MUI 5 on https://mui.com/getting-started/installation/:Can
styled-components
be supported ny this plugin? Thanks