Re:Why I Write CSS in JavaScript
by Touche on Monday February 18, 2019 @10:06AM
(#19191110)
Why do you think CSS-in-JS has only caught on in the React community?
[ Parent
| on HN ]
Probably because it's the only one among major popular frameworks that doesn't use weird compile-to-js templates, and relies on JS only.
Others (I'm thinking Angular and Vue) have their own templating systems that they compile to JS anyway.
Re:Why I Write CSS in JavaScript
by chooseaname on Monday February 18, 2019 @10:43AM
(#19191437)
Herd mentality.
RDD (resume driven development).
Cargo culting.
Ooooh shiney!
"I'm not confident enough to make my own decisions, so I'll let the 'community' decide for me."