Hacker News new | ask | show | jobs
by KolmogorovComp 33 days ago
For me Svelte and LLM completely removed my need for Tailwind. Turns out I was using it primarily to avoid CSS collision, and (to me) more logical syntax, rather than the self-imposed constraints.
1 comments

Why did Svelte affect your stance towards Tailwind?
Presumably because you just put the styles in the component.
Yes and Svelte automatically namespaces them, so there's no collisions.
Maybe Svelte does it much better, but there were tonnes of scope-css-to-react-component approaches before Tailwind too.
Svelte namespaces styles to the component and also has some lint checks for unused selectors.