top | item 45536519

(no title)

Hnus | 4 months ago

HTMX can do all of that via OOB updates no?

discuss

order

yawaramin|4 months ago

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.

munchlax|4 months ago

Yeah but then you don't get to write a cool blog post.

sudodevnull|4 months ago

Sure, go try doing it and see what happens. Make sure to handle every verb, automatically connect, expo backoff, etc!

Hnus|4 months ago

I literally do that, it is not that hard. Getting locked into framework with weird licensing is probably harder engineering problem to solve.

nchmy|4 months ago

the htmx dev literally created idiomorph because, among other reasons, OOB isn't sufficient. A version of idiomorph is what datastar uses internally

hide_on_bush|4 months ago

you miss the sse support (in htmx it's a plugin) and the reactivity part (like alpine).

sudodevnull|4 months ago

if you think they work the same at all you haven't tried either

TeddyDD|4 months ago

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.