4 ms·
I feel like scoped css and component libraries fixed this issue. I don’t have a .button, I just have a <Button> that has all its css self contained. And just a
by Gigachad 3mo ago
I feel like scoped css and component libraries fixed this issue. I don’t have a .button, I just have a <Button> that has all its css self contained.
And just a shared color definition file.
- KolmogorovComp 3mo agoSame, my need for tailwind got completely ridden when I started using Svelte, thanks to the CSS-scoping it entailed.
- michaelchisari 3mo agoAnd @scope does this for all of css.
- satvikpendem 3mo agoThat's funny, Vue had this like a decade ago. It was nice but I switched to React instead due to library support.