News for hackers. Stuff that matters.
Re:Tailwind UI by have_faith on Wednesday February 26, 2020 @11:34AM (#22424505)
I thought the anti-css crowd who use React etc generally preferred some form of Styled Components where the style is written in JS? It's a mixed up world of factions :)

Whether building a regular website or a web-app I generally just use component names (like .card) the same way. I'm more of a fan of defined components with limited variations though than people being able to change anything with a lot of utility classes. Sort of like having a succinct API with a constrained depth. I see css as an api to the original designs and Tailwind introduces too much freedom for my comfort! I will endeavour to give it an honest trial though and maybe I will meet you somewhere in the middle.

Re:Tailwind UI by robertoandred on Wednesday February 26, 2020 @12:10PM (#22424934)
Styled Components still uses CSS, it just removes the ambiguity and additional abstractions around class names.