My application has a 'dashboard' feature that utilizes material-ui. Within this dashboard, other apps are called and rendered. While this setup functioned smoothly during development, I encountered issues once switching to a production build. The material ui classnames clashed, resulting in various display problems.
I am seeking advice on how to assign predecessor CSS names to avoid conflicts. For instance, could I use names like .main-c1
, app2-c1
, app3-c1
, etc.? Currently, when rendering app2, it overwrites all existing classes.