4 ms·
> A better abstraction in my opinion is a utility CSS library like Tailwind.css Exchanging sass with postcss based framework in my book is the worse abstractio
by type0 8y ago
> A better abstraction in my opinion is a utility CSS library like Tailwind.css
Exchanging sass with postcss based framework in my book is the worse abstraction for almost any purpose.
- urbanjunkie 8y agoYour book is wrong. You are wrong. Educate yourself.
- gitgud 8y agoWhy is that? Have you used it for significant projects? I've found the hierarchy of CSS classes and where they're defined (e.g. global or component) become hard to to manage and refactor when you want to reshuffle components around... I feel postcss-based styling is simply more predictable and easier to refactor. And the abstraction, which can be clunky at first, becomes a sort of intuitive DSL which let's you develop faster...