Htmx 4.0
rmsaksida
601 points
146 comments
August 28, 2026
Related Discussions
Found 5 related stories in 65.2ms across 4,827 title embeddings via pgvector HNSW
- Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy rcy · 399 pts · July 26, 2026 · 71% similar
- How I use HTMX with Go gnabgib · 182 pts · July 14, 2026 · 61% similar
- Htmx live is cool. Datastar is fast. This cow is raw and strong bobowski · 13 pts · August 22, 2026 · 55% similar
- Removing React.js from the codebase and adapting Htmx for UI interactivity (2023) Ralfp · 239 pts · July 27, 2026 · 55% similar
- Hy4 Preview yogenpro · 16 pts · August 28, 2026 · 53% similar
Discussion Highlights (20 comments)
praseodym
Is it just a coincidence that the image for this release is the same as for Omarchy Quattro? https://youtu.be/F7fe9pa8OeE
Baguette5242
As CEO of HTMX, I am very proud of the work achieved by the team.
StrangeSound
> Note that attributes like hx-disinherit Looks like some copy is missing here
arjie
Great library. Really enjoy using it. Agents work really well with the kind of site you build with it and it’s very easy to build. Thanks for the upgrade skills.
nzoschke
Congrats and thanks! htmx brings me joy. Pretty much every experiment I build now starts with Go, htmx, and SQLite to keep things simple and fast but still responsive. I put a few more thoughts about this here: https://housecat.com/blog/the-hugs-stack-hypermedia-unix-go-...
avarun
Why did they skip version 3?
ryanisnan
Congratulations on the release! I have enjoyed working with htmx very much. I'm still skeptical of htmx being the foundation for a 100-year web service, but I think this is a really worthwhile goal. I'll add that aside from static HTML, I don't have a better option.
replwoacause
I've always been a fan and supporter of HTMX, but lately I've wondered how beneficial it is now that LLMs can generate JavaScript for us. HTMX was especially useful when I wrote JavaScript by hand because I appreciated its higher level of abstraction and simplicity. I also struggled to make it work with AlpineJS and eventually had to resort to plain JavaScript, which gave me finer control. Normally, switching to JavaScript would have been a hassle but since an LLM can produce it as easily as any other text, I’m less clear on HTMX’s advantage. I’ve been getting along fine without it. If computers didn’t write code for us, I would still choose HTMX, but now I find it hard to justify the trade‑off.
kayson
I'm not very familiar with htmx but at first glance it seems similar to Angular. I thought Angular lost favor because of all the extra attributes and boilerplate. What makes htmx different?
havaloc
Before vibe coding was a thing, HTMX made it super easy for me to implement Ajax like features. It was the most approachable library I've ever seen, and I'll always be grateful for it.
james2doyle
> `hx-alpine-compat` - smooths over compatibility issues between htmx and Alpine.js I looked into this when I tried HTMX 4 on a project earlier this year. I actually found that https://alpine-ajax.js.org/ was smaller than HTMX while providing all the features I needed. It is one of the sanctioned projects they link to so I felt good using it
flossly
I'm glad I'm not using this. It's the opposite of how I like to build web apps (which is either SSR with tiny bits of JS on top that I like to use Alpine.js for; or a JS-app that I like to use Elm for as life is too short runtime errors). Nonetheless I hope all who do use Htmx, enjoy using it.
cubefox
The anchor links in the "on this page section" don't work for me (Android Firefox/Chrome).
cui
It seems this version is also adding hx-live. Anyone used it before? How does it compare against Alpine.js?
dec0dedab0de
I really like htmx, and intercooler.js before it. It's been a while since I tried to convince a co-worker to use it, it might be time to try again. Either way I can't wait to try out the new version. Full Disclosure, I am CEO of HTMX
hollowturtle
"On this page" anchor navigation doesn't work for me :( Mobile Safari
orsenthil
Strange. The picture of the jeep looks similar to the Omarchy Quatro Desktop wallpaper. Is there a connection? How come both look so similar?
philipwhiuk
The game page is pretty broken...
prologic
HTMX Rocks!
jamesforestwest
Cool to see htmx alive and evolving. This update was long overdue. The change to attribute inheritance seems a bit debatable to me but maybe it'll actually make the code easier to understand