Need help?
<- Back

Comments (87)

  • 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
  • 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-...
  • james2doyle
    > `hx-alpine-compat` - smooths over compatibility issues between htmx and Alpine.jsI 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
  • dajonker
    Cheers! We've been running the various betas in production for a couple of months now. For our Rails app we replaced most of our Hotwired/Turbo with HTMX. For me at least, HTMX just makes more sense: you control the flow of content from the client, not from the server as you do with Turbo.For pushing updates, we use ActionCable, but we do it in a different way from what we used to do with Turbo Streams: when a record is updated, instead of sending HTML from the server to the client with instructions on what to replace, we only send a small JSON payload with the ID of the element that was updated. On the client side, an event is dispatched that any DOM element with <hx-trigger="<resource-id>:updated from:body"> will trigger on. For the rest it's just basic HTMX, only the trigger is "custom".
  • hmokiguess
    For those wondering, here's how you can join me, the CEO of HTMX, as CEO of HTMX: https://htmx.ceo/
  • nothrowaways
    That's a great-looking Toyota. What model is it?
  • 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.
  • Baguette5242
    As CEO of HTMX, I am very proud of the work achieved by the team.
  • 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
  • praseodym
    Is it just a coincidence that the image for this release is the same as for Omarchy Quattro? https://youtu.be/F7fe9pa8OeE
  • 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?
  • 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.
  • hollowturtle
    "On this page" anchor navigation doesn't work for me :( Mobile Safari
  • cui
    It seems this version is also adding hx-live. Anyone used it before? How does it compare against Alpine.js?
  • 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.
  • 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.
  • 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.
  • prologic
    HTMX Rocks!
  • 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?
  • avarun
    Why did they skip version 3?
  • 93po
    i'd avoid imo, i'm an intern that got fired from htmx and the ceo was a jerk
  • philipwhiuk
    The game page is pretty broken...
  • seabre
    Can we get a Mitsubishi Delica for the next announcement? Thanks.
  • StrangeSound
    > Note that attributes like hx-disinheritLooks like some copy is missing here
  • anon
    undefined
  • cubefox
    The anchor links in the "on this page section" don't work for me (Android Firefox/Chrome).
  • sehw
    [dead]