4 ms·
It solves the repetition and collation into className, yes. But I think the author's main gripe was that component abstraction was made difficult with Tailwind
by redbar0n 4y ago
It solves the repetition and collation into className, yes.
But I think the author's main gripe was that component abstraction was made difficult with Tailwind when you want to customize the component from the outside, by dynamically altering the styles through props (as often needed for contextualization in design systems), and not just no-prop components like Tailwind suggests: https://tailwindcss.com/#component-driven https://tailwindcss.com/#component-driven