Y
Hacker News
new
|
ask
|
show
|
jobs
by
Hnus
256 days ago
HTMX can do all of that via OOB updates no?
5 comments
yawaramin
256 days 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.
link
munchlax
256 days ago
Yeah but then you don't get to write a cool blog post.
link
sudodevnull
255 days ago
Sure, go try doing it and see what happens. Make sure to handle every verb, automatically connect, expo backoff, etc!
link
Hnus
254 days ago
I literally do that, it is not that hard. Getting locked into framework with weird licensing is probably harder engineering problem to solve.
link
nchmy
255 days ago
the htmx dev literally created idiomorph because, among other reasons, OOB isn't sufficient. A version of idiomorph is what datastar uses internally
link
hide_on_bush
256 days ago
you miss the sse support (in htmx it's a plugin) and the reactivity part (like alpine).
link
sudodevnull
255 days ago
if you think they work the same at all you haven't tried either
link
TeddyDD
256 days 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.
link