Hacker News new | ask | show | jobs
by Hnus 256 days ago
HTMX can do all of that via OOB updates no?
5 comments

Yup, which is why I never understand why people keep making this criticism that could have been avoided by just reading the docs a little bit more or even asking on the htmx Discord.
Yeah but then you don't get to write a cool blog post.
Sure, go try doing it and see what happens. Make sure to handle every verb, automatically connect, expo backoff, etc!
I literally do that, it is not that hard. Getting locked into framework with weird licensing is probably harder engineering problem to solve.
the htmx dev literally created idiomorph because, among other reasons, OOB isn't sufficient. A version of idiomorph is what datastar uses internally
you miss the sse support (in htmx it's a plugin) and the reactivity part (like alpine).
if you think they work the same at all you haven't tried either
OOB is annoying in HTMX because you need to include hx-swap-oob attribute in every component you want to swap this way. In Datastar you just use id.