4 ms·
I think the point in the comment you are replying to is that they _prefer_ having markup and styles in separate files.
by eajakobsen 4y ago
I think the point in the comment you are replying to is that they _prefer_ having markup and styles in separate files.
- solumunus 4y agoYou can still do that though. I swear half the Tailwind haters haven't used it for more than 30 minutes, or at all.
- xigoi 4y agoThen what's the advantage of Tailwind?
- solumunus 4y agoStandardised and clean CSS syntax. The benefits in that context are debatable, a component based frontend architecture is where it absolutely shines. If you end up using it in that context you won't need to ask this question, it quickly becomes clear that it's the optimal path.
- nailer 4y agoNo, I have HTML and CSS in the same component file. I prefer having styling in one place (the CSS inside the component file) rather than two (the HTML of the component and tailwinds’s own postcss files that implement the styles).