Htmx 4.0.0

(four.htmx.org)

101 points by rmsaksida3 hours ago

11 comments

  • replwoacause16 minutes ago
    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.
    • nchmy5 minutes ago
      the browser is and always will be built for dealing with SSR HTML
      • replwoacause1 minute ago
        All apps I build are server-side rendered. I'm not sure how your comment changes the the question I'm asking.
  • nzoschke47 minutes ago
    Congrats and thanks! htmx brings me joy.<p>Pretty much every experiment I build now starts with Go, htmx, and SQLite to keep things simple and fast but still responsive.<p>I put a few more thoughts about this here:<p><a href="https:&#x2F;&#x2F;housecat.com&#x2F;blog&#x2F;the-hugs-stack-hypermedia-unix-go-sqlite" rel="nofollow">https:&#x2F;&#x2F;housecat.com&#x2F;blog&#x2F;the-hugs-stack-hypermedia-unix-go-...</a>
    • kaycebasques18 minutes ago
      Oh wow, interesting combo that I would never independently reach for, but thanks to your template I might have to give it a whirl!
  • havaloc12 minutes ago
    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&#x27;ve ever seen, and I&#x27;ll always be grateful for it.
  • Baguette52421 hour ago
    As CEO of HTMX, I am very proud of the work achieved by the team.
    • all22 minutes ago
      As fellow CEO of HTMX, I approve of this statement and concur. I think our next major moves will be to monetize our assets [0].<p>[0] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=GyV_UG60dD4" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=GyV_UG60dD4</a>
    • GrayShade54 minutes ago
      &gt; Like it or not, a lot of people are using LLMs and we are providing the following skills files for<p>For what? Don&#x27;t leave us hanging!
      • recursivedoubts46 minutes ago
        lol sorry about that, had a fix sitting in four-dev, merged to four and pushed, should be updated
  • arjie49 minutes ago
    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.
  • ryanisnan17 minutes ago
    Congratulations on the release!<p>I have enjoyed working with htmx very much.<p>I&#x27;m still skeptical of htmx being the foundation for a 100-year web service, but I think this is a really worthwhile goal. I&#x27;ll add that aside from static HTML, I don&#x27;t have a better option.
  • kayson15 minutes ago
    I&#x27;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?
  • praseodym1 hour ago
    Is it just a coincidence that the image for this release is the same as for Omarchy Quattro? <a href="https:&#x2F;&#x2F;youtu.be&#x2F;F7fe9pa8OeE" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;F7fe9pa8OeE</a>
    • recursivedoubts47 minutes ago
      oh man that&#x27;s embarassing, someone made that on twitter I didn&#x27;t realize it was from omarchy, I&#x27;ve removed it, my bad
    • chainwax46 minutes ago
      I think that&#x27;s the joke
  • avarun27 minutes ago
    Why did they skip version 3?
    • MichaelNolan10 minutes ago
      As a joke. Back when 2 came out, they promised there would never be a version 3. I.e., no breaking changes. Then they realized they did need to make a breaking change, so the only way to be true to their promise was to skip version 3.
    • _doctor_love11 minutes ago
      Carson promised they&#x27;d never do a version 3...but he never said they couldn&#x27;t do a version 4.
  • StrangeSound50 minutes ago
    &gt; Note that attributes like hx-disinherit<p>Looks like some copy is missing here
    • recursivedoubts45 minutes ago
      Yep, fixed
      • mkl42 minutes ago
        &gt; (plus at game)<p>Typo of &quot;a&quot;?
        • recursivedoubts39 minutes ago
          with enough eyes all typos are shallow (it was a long night)