I am using Tailwind for the first time and really stuggle with the long class strings. I imagine i'll get used to it with time.
Re:What's new in Svelte (Dec 2020)
by earthboundkid on Thursday December 03, 2020 @10:33AM
(#25289793)
Having used Tailwind on two projects now, I do find that the class strings are "write only". One tip that helps is to write the classes from "outside in," e.g. first the margin, then the border, then padding, then properties affecting the inside of the element…
Having inherited a Tailwind project, I agree that the class strings are write-only.
Re:What's new in Svelte (Dec 2020)
by earthboundkid on Friday December 04, 2020 @10:57AM
(#25303722)
TBF, regular CSS is also "write only". At least with Tailwind, there's CSS purge to try to delete some it before it gets into production.
I've used React, HyperApp and Flutter and Svelte (with Tailwind for CSS) is in my opinion clearly superior. But I also know someone who thinks Flutter is better.