Y
Hacker News
new
|
ask
|
show
|
jobs
by
esafak
37 days ago
Why did Svelte affect your stance towards Tailwind?
2 comments
eximius
37 days ago
Presumably because you just put the styles in the component.
link
Strom
37 days ago
Yes and Svelte automatically namespaces them, so there's no collisions.
link
mcintyre1994
36 days ago
Maybe Svelte does it much better, but there were tonnes of scope-css-to-react-component approaches before Tailwind too.
link
brikym
35 days ago
Svelte namespaces styles to the component and also has some lint checks for unused selectors.
link