@ayoAyo Ayco @sangsterBen Exactly. There are versions of the second that use extra compilation steps to move the CSS out to a separate file, and these are known variously as "CSS extraction" and "runtime-free" versions of "CSS-in-JS", but they generally require extra work and tend to be brittle.

The pro move is to avoid React-ecosystem "CSS-in-JS" entirely.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://toot.cafe/users/slightlyoff/statuses/114248120163388950 on your instance and quote it. (Note that quoting is not supported in Mastodon.)