dazzling-autumn-14365
01/04/2022, 7:56 AM@apply
or just react component with classes? I am finding it very ugly for small components like buttons to have react components with a tonne of classesfew-toddler-51984
01/04/2022, 8:16 AM@apply
although if you’re using react you could checkout https://headlessui.dev/ too.dazzling-autumn-14365
01/04/2022, 8:56 AM@apply
but last line of this section stopped me.
If you’re going to usehttps://tailwindcss.com/docs/reusing-styles#avoiding-premature-abstraction Does that mean we shouldn't consider using, use it for very small, highly reusable things like buttons and form controls — and even then only if you’re not using a framework like React where a component would be a better choice.@apply
@apply
in React/Vue?
Do you think using @apply
has worked out well?dazzling-author-99268
01/04/2022, 12:12 PMdazzling-autumn-14365
01/04/2022, 12:16 PMdazzling-author-99268
01/04/2022, 12:19 PMdazzling-autumn-14365
01/04/2022, 12:22 PMdazzling-autumn-14365
01/04/2022, 12:31 PMwide-carpet-65149
01/04/2022, 1:46 PMwide-carpet-65149
01/04/2022, 1:48 PM