The Differing Perspectives on CSS-in-JS

1 · CSS-Tricks · Aug. 14, 2019, 12:15 a.m.
Some people outright hate the idea of CSS-in-JS. Just that name is offensive. Hard no. Styling doesn't belong in CSS, it belongs in CSS, a thing that already exists and that browsers are optimized to use. Separation of concerns. Anything else is a laughable misstep, a sign of not learning from the mistakes of the past (like the <font> tag and such.) Some people outright love the idea of CSS-in-JS. The co-location of templates and functionality, à la most … Read article The post The Differing Pe...