---
#34743
Replies: 1 comment
-
@DewangS Hi, we are not providing support on GitHub discussion, Stack Overflow would likely be the right place to ask, see https://mui.com/material-ui/getting-started/support/. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've gone through the documentation on the changes around the legacy makeStyle vs the new styled feature though having hard time using the new styled component as it's more like creating each HTML element e.g. div, button, icon as a styled component and use it. For example in my legacy code I had below snippet where I use makeStyles to create styles and use those classes across my functional code. Looking at the new way, it looks like I will have to create style for each element individually which is a LOT of work. I'm aware that I can still use the legacy style by installing the npm install @mui/styles package but other than that is there any easy work around? I've also saw some comments regarding very poor performance of using the legacy style package with MUI v5. Could someone please let me know what approach you've taken to migrate your old material-ui code? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions