5 ms·
Maybe I'm the minority here, but with something like Vite I can import a css file directly into a given component's file and call it a day. Haven't worried abou
by beepbooptheory 2y ago
Maybe I'm the minority here, but with something like Vite I can import a css file directly into a given component's file and call it a day. Haven't worried about scoping in forever, and only need to manage a number of distinct, small, and comprehensible css files.
- willsmith72 2y agoTailwind kills the scoping problem too I went through a very similar story to the author and ended up with the same conclusion. Once I tried it, everything else felt terrible
- uhoh-itsmaciek 2y agoBut they're still separate files. You still have your markup in one place and your CSS in another place, and you need to solve the hardest problem in computer science (naming things) any time you make substantial changes. I think Tailwind has some shortcomings, but I really like that styling and markup live together.