Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1823

Tailwindcss fold classes in Rescript/React

$
0
0

tbh I’ve been using tailwind since before 1.x and its never bothered me.

last place I worked at we used a tool, rustywind, to sort/format/deduplicate our tailwind classes.
it was an Elm app, so a little trickier, but I believe Prettier can do it too. we used Rusty in a githook for consistency across IDEs

haven’t done much Rescript and tailwind tho to have an answer.

maybe pulling out the long list of classes into a variable could improve readability, or grouping responsive classes, etc


Viewing all articles
Browse latest Browse all 1823

Trending Articles