3 ms·
> Components and template partials solve this problem much better than CSS-only abstractions because a component can encapsulate the HTML and the styles. One o
by porker 3y ago
> Components and template partials solve this problem much better than CSS-only abstractions because a component can encapsulate the HTML and the styles.
One of the often overlooked dividers between those who like Tailwind and those who don't is whether your Web framework of choice has a concept of components.
Template partials with their lack of properties and a defined signature (hi autocomplete!) don't cut it in my experience.