Re:Why I Write CSS in JavaScript
by exogen on Monday February 18, 2019 @09:46PM
(#19196259)
I am the grandparent, and never mentioned anything about state. Not sure why state matters. Declarative CSS rules have effects. The scope of those effects can be both unlimited and unintended, and you can't "opt out" of being affected by rules – if some rule is targeting you, you're out of luck, unless you anticipate it and apply everything with the greatest specificity possible.
[ Parent
| on HN ]