Posts, a community app by Read.cv

Thread
Logan Liffick

Tailwind, styled components, or both 🤔

Logan Liffick
Replying to @natedunn

I’ve been using styled for a few years now but just diving into tailwind, wasn’t sure if they mixed or not! Thanks Nate!

John Eatmon
Replying to @loganliffick @natedunn

Have you looked into Class Variance Authority? Plays nicely with TW

Logan Liffick
Replying to @johneatmon @natedunn

Also update on the tailwind v styled front: tailwind eats styled for lunch. This is how ive wanted to build for years 👏 Variants looks slick too, that’s sort of how I used to run styled in components to conditionally cut down on exports.

Nate Dunn
Replying to @loganliffick @johneatmon

Pretty rare to hear someone catch on right away. Usually it take some time. 🤭 but I’m glad you like it!

Logan Liffick
Replying to @natedunn @johneatmon

I grew up on bem so not suuuuper new to utility class css but this is so much better 😊