DEV Community

Discussion on: Build a Full Stack App with Next.js, Tailwind, tRPC and Prisma ORM

Collapse
 
jancassio_10 profile image
Jan Cássio

Everyday a TW hater bringing JS oriented style as argument to replace CSS.

Collapse
 
brense profile image
Rense Bakker

No, I actually worked with it and discovered the many things Tailwind just cannot do, without very dirty workarounds. Also, its Tailwind that is trying to replace CSS, you're writing class names, not CSS.

Thread Thread
 
jancassio_10 profile image
Jan Cássio • Edited

I actually worked with it and discovered the many things Tailwind just cannot do, without very dirty

Like what?

you're writing class names, not CSS

You understood CSS wrong. It's all about composing classes and reuse it. You should write more reusable CSS as you can to do not repeat it again and again. Tailwind provides a shortcut to skip the writing CSS for general purpose styles and avoid a lot of duplicates.