Re:Show HN: Tailwind.run – An Online Playground for Tailwind...
by wishinghand on Friday August 09, 2019 @02:59PM
(#20657329)
Extracting components? You mean like writing CSS classes? I'm so glad Tailwind is here to reinvent the wheel for us.
Re:Show HN: Tailwind.run – An Online Playground for Tailwind...
by cuddlecake on Friday August 09, 2019 @10:12PM
(#20659739)
Well, you do write CSS classes, but those classes are based on your configuration. This is not a reinvention, it's a framework addressing certain issues in a certain way. It might seem counterintuitive at first, but to me it's a tool. I prefer it over SCSS (since I often rebuild in SCSS what TailwindCSS provides)
Furthermore, styled buttons are such a common occurrence that TailwindCSS encourages users to extract common CSS patterns into component classes[0].
0: https://tailwindcss.com/docs/extracting-components