Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Svelte, which is fairly mainstream these days looking at state of js, scopes your styles to the component.

So global styles are very rare and usually a bunch of branding variables these days.

Like a lot of bad solutions in tech, tailwind seems to exist as a workaround to the core issue of ‘still using react’.



Similar to Vue then, looks like. For me, CSS modules or CSS-in-TS solves our scoping problems in React.


Yes exactly. If react included scoped styles out of the box conflicts would be rare and tailwind would be far less popular.


Not really, you have intellectually missed some of the key reasons for Tailwind and why it's popular.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: