News for hackers. Stuff that matters.
Re:How I use HTMX with Go by lazypenguin on Tuesday July 14, 2026 @08:29PM (#48914748)
I also prefer Datastar but the new features coming in HTMX4 closes the gap more. Happy to see the ecosystem converging on good patterns.
Re:How I use HTMX with Go by nchmy on Tuesday July 14, 2026 @08:46PM (#48914850)
But the point is that Datastar only exists because htmx rejected all of those ideas. Now it's becoming a cheap, more complex, less powerful, heavier copy of Datastar. Just use the genuine article.
Re:How I use HTMX with Go by lenkite on Wednesday July 15, 2026 @12:38PM (#48923466)
I would just go all the way to using https://unpoly.com/ if I wanted the full-bang whiz.
Re:How I use HTMX with Go by yawaramin on Wednesday July 15, 2026 @08:28PM (#48929027)
Last I checked Datastar doesn't support progressive enhancement. I like using <a href hx-boost=true> and <form method action hx-boost=true> so almost all my functionality works even without JavaScript. See https://dev.to/yawaramin/why-hx-boost-is-actually-the-most-i...
Re:How I use HTMX with Go by nchmy on Thursday July 16, 2026 @06:23PM (#48941065)
Its not evident to me that that is really a concern when datastar is so small, and most of the js is written inline.

Moreover, htmx can only do a fraction of what datastar does - you'd need to add on something like alpinejs to be able to try to fill the gaps. Both combined are much larger than datastar, and not nearly as integrated.

Re:How I use HTMX with Go by yawaramin on Sunday July 26, 2026 @06:35PM (#49063120)
It’s a concern because I use htmx for loading and updating resources and I want those operations to work as well as possible even without JavaScript. I’ve never felt the need for Alpine.js, I have very little I need to do with custom JS, and it’s trivial to maintain that by hand.
Re:How I use HTMX with Go by devnull3 on Wednesday July 15, 2026 @03:08AM (#48917256)
Datastar has evolved into a suite of tools [1]. If anything the gap has widened.

Off-course these additional tools are not free [2].

[1] Rocket for WebComponents, Stellar for CSS

[2] Nothing wrong in charging but $349 is a tad too expensive for me. I will happily pay if it was in double digits.