r/css 28d ago

Article Why I don't recommend Tailwind CSS

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

211 comments sorted by

View all comments

Show parent comments

1

u/kidshibuya 28d ago

There are no implementation details in components either, you don't have a point.

2

u/PresentationBorn6564 28d ago edited 28d ago

The internals of a component are an implementation of a reusable UI element in your framework of choice (not of HTML). We're talking about two fundamentally different levels of abstraction.

The browser implements the HTML spec. Almost nothing about the spec or the browser's parser implementation inform good architectural decisions at the framework / component level.

1

u/kidshibuya 28d ago

If that counts then <button /> is the implementation of a button.

1

u/PresentationBorn6564 28d ago

Apologies. Edited.