If you are using Next.js and you are not sure how to configure SSR to work with both Emotion & JSS, take a look a this example project. Need to refer back to an older version of the docs? Check out the v4 documentation here. This process is covered in Migrating from JSS. Once you've completed the rest of the v5 upgrade, we recommend progressively moving over to the new styling engine. makeStyles, withStyles) even after migrating to v5. Note that you may continue to use JSS for adding overrides to the components (e.g. One of the biggest changes in v5 is the replacement of JSS for Emotion as a default styling solution. We highly recommend running our codemods for efficiency-these will automatically address many of the breaking changes introduced in v5. This is the first document in a multi-part series to walk you through upgrading your app from Material UI v4 to v5.
0 Comments
Leave a Reply. |