Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
esafak
· 6mo ago · 0 comments
Why did Svelte affect your stance towards Tailwind?
Comments
[–]
eximius
6mo ago
Presumably because you just put the styles in the component.
[–]
Strom
6mo ago
Yes and Svelte automatically namespaces them, so there's no collisions.
[–]
mcintyre1994
6mo ago
Maybe Svelte does it much better, but there were tonnes of scope-css-to-react-component approaches before Tailwind too.
[–]
brikym
6mo ago
Svelte namespaces styles to the component and also has some lint checks for unused selectors.