From the UI perspective, “component” is an isolated fragment of a document (<button /> is a component). CSS was designed to style documents, which encompasses all of the components. Whats the problem?
Stop using CSS in JavaScript for web development
Gajus Kuizinas
1.2K79

That it has really bad scope rules and encapsulation, and this hasn’t changed since the “document” days.

It’s even in the name: “Cascading” styles will forever be at odds with what a web apps means.

Show your support

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