Re:Why I Write CSS in JavaScript
by allover on Tuesday February 19, 2019 @02:31PM
(#19201967)
Nobody in the CSS-in-JS world is disputing that a global theme is useful, just that having no choice but to have all your selectors be global is not so great.
My point is, when it comes to visual styling, you inherently have a shared visual context.
The post I was replying to was concerned with the "global" nature of CSS.
I'm pointing out that this is inherent to the problem space. You have to deal with it whether you use CSS, code or any other mechanism to style.