Remix.run Logo
Htmx 4.0.0(four.htmx.org)
96 points by rmsaksida 3 hours ago | 20 comments
replwoacause 11 minutes ago | parent | next [-]

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.

nzoschke 42 minutes ago | parent | prev | next [-]

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-...

kaycebasques 13 minutes ago | parent [-]

Oh wow, interesting combo that I would never independently reach for, but thanks to your template I might have to give it a whirl!

havaloc 7 minutes ago | parent | prev | next [-]

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 an hour ago | parent | prev | next [-]

As CEO of HTMX, I am very proud of the work achieved by the team.

GrayShade an hour ago | parent [-]

> Like it or not, a lot of people are using LLMs and we are providing the following skills files for

For what? Don't leave us hanging!

recursivedoubts 40 minutes ago | parent [-]

lol sorry about that, had a fix sitting in four-dev, merged to four and pushed, should be updated

arjie 44 minutes ago | parent | prev | next [-]

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.

kayson 10 minutes ago | parent | prev | next [-]

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?

ryanisnan 12 minutes ago | parent | prev | next [-]

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.

praseodym an hour ago | parent | prev | next [-]

Is it just a coincidence that the image for this release is the same as for Omarchy Quattro? https://youtu.be/F7fe9pa8OeE

recursivedoubts 42 minutes ago | parent | next [-]

oh man that's embarassing, someone made that on twitter I didn't realize it was from omarchy, I've removed it, my bad

chainwax 41 minutes ago | parent | prev [-]

I think that's the joke

avarun 22 minutes ago | parent | prev | next [-]

Why did they skip version 3?

MichaelNolan 4 minutes ago | parent | next [-]

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_love 6 minutes ago | parent | prev [-]

Carson promised they'd never do a version 3...but he never said they couldn't do a version 4.

StrangeSound an hour ago | parent | prev [-]

> Note that attributes like hx-disinherit

Looks like some copy is missing here

recursivedoubts 40 minutes ago | parent [-]

Yep, fixed

mkl 37 minutes ago | parent [-]

> (plus at game)

Typo of "a"?

recursivedoubts 34 minutes ago | parent [-]

with enough eyes all typos are shallow (it was a long night)