logoalt Hacker News

I Hate Tailwind and Love Bootstrap

15 pointsby rmykhajliwtoday at 9:05 PM10 commentsview on HN

Comments

rahimnathwanitoday at 10:46 PM

"Bootstrap takes the opposite approach by limiting flexibility and embedding decisions into predefined components."

If you choose tailwind, nothing is stopping you from using components. You can choose to use predefined components, or you can create your own. Or some mix.

show 1 reply
rmykhajliwtoday at 9:05 PM

I don’t believe the Tailwind approach is a stable, scalable, or reliable solution for large, long-living products.

It works well for fast delivery, prototypes, and teams optimizing for short-term speed, but over time it tends to spread styling decisions across markup, making the system harder to control, reason about, and maintain.

show 1 reply
MK_Devtoday at 11:11 PM

Tell 'em! I also hate React and love Razor, but most don't seem to share that sentiment

jaapztoday at 10:35 PM

Ah, time for the pendulum to start swinging back again

ricardobeattoday at 10:03 PM

What happens in practice is you use Tailwind with components (React or otherwise), so you build `<Button primary>` using tailwind classes internally; this is functionally the same as the boostrap classes, but can standardize much more than styles.

It just adds an extra layer of abstraction, which I happen to also find unnecessary.

jdmoreiratoday at 10:38 PM

Just use DaisyUI

ceritiumtoday at 10:16 PM

Me too