News for hackers. Stuff that matters.
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.
Re:Why I Write CSS in JavaScript by kazinator on Tuesday February 19, 2019 @12:01AM (#19196722)
Pardon me; I was thrown off by wording like "overwrite or mutate".