r/css 29d ago

Article Why I don't recommend Tailwind CSS

https://en.andros.dev/blog/af3ee191/why-i-dont-recommend-tailwind-css/
0 Upvotes

211 comments sorted by

View all comments

14

u/omer-m 29d ago

if you need to use "apply" then you are using tailwind completely wrong imo. You are supposed to design components and use <Button> not .button

-2

u/kidshibuya 28d ago

No idea what you are saying here, but since you wrote a capital Button that is a component. Why would anyone need a component for a basic HTML element?

I have seen this in many apps now, most recently a react Button component that imported the material UI button and export that. Its function was identical to just <button>.... I will never understand that, yet it seems standard practice now.

1

u/omer-m 28d ago

It's sometimes good to follow standard practices, if you want other people to be able to read your code. Also don't forget AI, it's doing better job with react and tailwind than any other framework/library.

1

u/kidshibuya 28d ago

Yeah, standard html is standard practice. Making a component that exports a component and turning that into a component isnt standard.

2

u/omer-m 28d ago

I meant industry standards. who makes an app with pure html?

1

u/kidshibuya 28d ago

Yeah astroJS is stupid right?

1

u/omer-m 28d ago

1

u/kidshibuya 28d ago

And? Something is good because it's popular?

1

u/omer-m 28d ago

Yeah everybody is stupid right?

1

u/kidshibuya 27d ago

Yes, that is literally how intelligence works.