Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Hnus
· 1y ago · 0 comments
HTMX can do all of that via OOB updates no?
Comments
[–]
yawaramin
1y 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
1y ago
Yeah but then you don't get to write a cool blog post.
[–]
sudodevnull
1y ago
Sure, go try doing it and see what happens. Make sure to handle every verb, automatically connect, expo backoff, etc!
[–]
Hnus
OP
1y 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
1y 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
1y ago
you miss the sse support (in htmx it's a plugin) and the reactivity part (like alpine).
[–]
sudodevnull
1y ago
if you think they work the same at all you haven't tried either
[–]
TeddyDD
1y 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.