I am calling this one a myth because it makes it sound like these problems have not been already addressed. CSS Modules, Shadow DOM and a countless number of naming conventions (such as BEM) have solved this problem long time ago in the community.
Stop using CSS in JavaScript for web development
Gajus Kuizinas
1.7K82

CSS modules is a too little-too late hack and not a standard, the Shadow DOM haven’t caught on and its overly complex for the few things it offers while not solving all the things React does (typical for CSS to underdeliver and over-complicate) and BEM and the rest are just conventions, and tedious at that.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.