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
94576

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.

Show your support

Clapping shows how much you appreciated Nickos Ventouras’s story.