Posts, a community app by Read.cv

Thread
Logan Liffick

Tailwind, styled components, or both 🤔

Nate Dunn
Replying to @loganliffick

Very different approaches, so using the together might be more trouble than it's worth. Imo, Tailwind offers 90% of what you need, especially with arbitrary values. tailwindcss.com/docs/adding-cu…

Adding Custom Styles - Tailwind CSS
Best practices for adding your own custom styles to Tailwind.
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

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 😊