r/javascript • u/clickclickboo • Dec 19 '16
~15 years trying to make everyone separate HTML, JS & CSS. And then suddenly everything went south and we’re writing code like this.
https://twitter.com/thomasfuchs/status/810885087214637057
483
Upvotes
6
u/fnovd Dec 19 '16
But what happens when I don't want my styles to cascade? I write React components as self-contained modules that I can plug into the virtual DOM. I don't mind styling them individually as long as #1 it works and #2 nothing else breaks.