Post

JS-based CSS frameworks are not the way - take it from someone with a lot of experience of Styled Components. You shouldn't have to do a giant JS upgrade across your entire app to take advantage of new native features of HTML and CSS. So it's nice to see TW offer a light touch approach.

0 reposts11 likes

I promise you that "having your styles and components collocated" is not worth the upgrade and maintenance costs. Also, you can do that with inline styles anyway if you really want

Definitely not in React, but the value of collocating styles with mark-up is extremely evident in the frameworks — Vue, Svelte, Astro, etc — that do support the pattern