Skip to content Skip to sidebar Skip to footer

Material Ui Styles Not Rendering

Im attempting to build a website using Material-UI and React. When attempting to use Material-UI's styling via the Hook API, it works online in codesandbox.io but does not work loc

Solution 1:

When using @material-ui/styles with @material-ui/core you need to follow the installation step https://v3.material-ui.com/css-in-js/basics/#migration-for-material-ui-core-users.

Here's your codesandbox link working: https://codesandbox.io/s/material-demo-rv2w1

Solution 2:

Web browsers use cache and in some cases your changes are not reloaded. Refershing using Ctrl+f5, clearing or disabling cache in your settings may be useful.

Please attempt to see your localhost web page using another web browser & in incognito

Post a Comment for "Material Ui Styles Not Rendering"