Live data from Hacker News

Htmx in a Nutshell

htmx.org

21–30 of 414 posts

Re: Htmx in a Nutshell

#21

htmx keeps getting posted here and choosing it comes down to "do you trust that your user's internet is stable" IMO. For a lot of interactive web apps, the answer is no, and htmx is not a good fit.

What does the internet stability have to do with htmx?

Re: Htmx in a Nutshell

#22
post #9

how would htmx handle application like pages? for example, something along the lines of google spreadsheets? Where each cell is interactive.

Not a good fit for that. But you might be able to use HTMX on the settings page of that spreadsheet app.

Re: Htmx in a Nutshell

#23

htmx keeps getting posted here and choosing it comes down to "do you trust that your user's internet is stable" IMO. For a lot of interactive web apps, the answer is no, and htmx is not a good fit.

The creator himself calls out that htmx is not a good fit for highly interactive web apps

https://htmx.org/essays/when-to-use-hypermedia/

Re: Htmx in a Nutshell

#24
My only complaint with htmx is that it is _nearly impossible_ to Google search for info about it. You just get tons of noise from Google 'helpfully' deciding you really just want to search for 'html'. You need to search for "htmx" (including quotes) to find docs, articles, etc. about it.

Re: Htmx in a Nutshell

#25
post #4

Makes me smile because everything old is new again. This is very similar to features MooTools had like 10+ years ago before JSON took off big.

if you like the retro-vibe of htmx, you might also like my homage to HyperTalk, the scripting language from HyperCard: https://hyperscript.org

Hey, I didn't know the same person made both of these! How close would you say HyperScript 0.9.7 is to production-ready?

Re: Htmx in a Nutshell

#26
I'm curious about htmx, but all of the HTML mini-syntax very similar in aesthetic to Angular 1.0, which was pretty quickly supplanted by React. What excites people about htmx? Do people like the mini-syntax but dislike the ceremony of state management?

Re: Htmx in a Nutshell

#28

My only complaint with htmx is that it is _nearly impossible_ to Google search for info about it. You just get tons of noise from Google 'helpfully' deciding you really just want to search for 'html'. You need to search for "htmx" (including quotes) to find docs, articles, etc. about it.

a known issue, but it was too good a name (and domain) to pass up!

hopefully over time the problem will subside

Re: Htmx in a Nutshell

#29
post #21

htmx keeps getting posted here and choosing it comes down to "do you trust that your user's internet is stable" IMO. For a lot of interactive web apps, the answer is no, and htmx is not a good fit.

What does the internet stability have to do with htmx?

[deleted]

Re: Htmx in a Nutshell

#30
Have been using htmx for a little over a year now, and I am so thankful for this library. It has simplified our development tremendously from ClojureScript / React to vanilla Clojure on the backend doing SSR of HTML with htmx HTML element attributes. All with 1 script tag that includes this wonderful library. Kudos to the creator of htmx!

This is what hypermedia architecture with true HATEOAS is all about. It feels like we took a wrong turn a decade ago, and we have been trying to reinvent rich clients with JSON RPC designs from the 90s. It has resulted in too much churn and complexity IMO.

Post reply on HN