I'd missed this piece in TNS, but nearly everything about it is correct:
https://thenewstack.io/css-in-js-the-great-betrayal-of-frontend-sanity/
Early proponents of this stuff were warned *directly* by browser engineers (incl. yours truly) that this would scale horribly, and indeed the post doesn't even cover the worst performance aspects of this nonsense: by repeatedly perturbing the global style set, CSS-in-JS runtimes *destroy the browser's layout caches*. A bonfire of the sanities.
@slightlyoff
this article seems to be AI slop. half the links make no sense.
> made [the simple act of styling a button] as complex as
links to an article comparing css-in-js frameworks, which says nothing about styling buttons.
> Anything [involving commerce] is at risk
links to www.commerce.com, which is an odd choice
> CSS-in-JS didn’t make styling faster: [it just made debugging slower].
links to a stackoverflow question that has nothing to do with css-in-js or debugging