DEV Community

HTMX, is it a joke?

Lioloc on May 26, 2025

Recently a friend of mine told me that when he first heard of HTMX, he thought it was a joke, and he wasn't being sarcastic. He's a cracked dev t...
Collapse
 
mbarzeev profile image
Matti Bar-Zeev •

Don't think that this qualifies as a complex app, but still the concepts are there.
I think that the straight forward approach of HTMX what derives from it makes a lot of sense -

dev.to/mbarzeev/ive-built-the-todo...

Collapse
 
lioloc profile image
Lioloc •

Thanks for sharing, will check it out

Collapse
 
john_matthew_82c0880ee1c1 profile image
John M •

Lookup some of the amazing stories on Youtube of companies that have moved to HTMX.

It takes the UI crazyness for me out of the picture.

Collapse
 
yawaramin profile image
Yawar Amin •

I built an app with multiple nested components in htmx and it works beautifully. I wrote about the technique here: github.com/yawaramin/dream-html/tr...

Collapse
 
lioloc profile image
Lioloc •

Nice. Do you think it's more maintainable than a react app?

Collapse
 
yawaramin profile image
Yawar Amin •

I believe so. At the very least, htmx is a single dependency with no transitive deps, no required build system, and almost all the logic is moving to the backend server. If the app uses controls that are on the simpler side and does not need to be highly interactive, htmx works fine.

Collapse
 
nevodavid profile image
Nevo David •

Been there, always funny how a new thing can sound odd till you see it in action. Curious if someone’s got a story using it at scale.

Collapse
 
lioloc profile image
Lioloc •

Same

Collapse
 
dotallio profile image
Dotallio •

I've seen some cool HTMX demos, but I also wonder how people keep things manageable as projects grow. How do you keep track of state or avoid chaos if you have a big team working on it?

Collapse
 
lioloc profile image
Lioloc •

Exactly! That's what I want to know too

Collapse
 
john_matthew_82c0880ee1c1 profile image
John M •
Collapse
 
lioloc profile image
Lioloc •

The perf numbers are amazing but I'm still interested about maintainability, got anything to share there?

Collapse
 
meandre profile image
Andrew •

Ok, it's gonna be quite controversial:

You can totally build a complex system in HTMX. I'm confident in this statement because HTMX brings nothing new and a lot of apps have been build using similar tech. Rails did this for ages (and still do with Hotwire — just in a much more sophisticated way).

I would not choose HTMX for anything complex frontend-wise or serving thousands RPM because of the same reason: it's there for ages and the transition to SPAs and frontend frameworks happened for a good reason — poor functional scalability.

I'm actually in the process of doing an overview of which turns the industry has taken during the last 20 years here and here

Collapse
 
lioloc profile image
Lioloc •

Thanks for your insight and tying that in with the historical context of Rails. If you had to use HTMX, what would you use it for?

Collapse
 
lioloc profile image
Lioloc •

Sounds like you're saying HTMX is fine but should be used only when it makes sense, like with Django on the backend and if using MVC. Makes me think it's not yet ready for wide scale use, would that be fair to say? Also I appreciate the link to the examples!

Collapse
 
lioloc profile image
Lioloc •

TLDR; If you could go back and do it again, would you use HTMX?