DEV Community


Discussion on: Classical CSS vs CSS in JavaScript

dkruythoff profile image
Darius Kruythoff

As someone who has been building for the web for 2 decades, I fail to see how suddenly jamming my CSS inside my JS will solve any problems I didn't have.
Heck, I don't even use component scoping.
A proper design system will prevent any management problems.
I guess I treat JS and CSS as equals, where my JS should produce HTML that will display the way my CSS dictates.

Forem Open with the Forem app