top | item 45597738

(no title)

blinkbat | 4 months ago

I still have no idea what benefits having your API serve markup is supposed to confer, but people tell me it's "great".

also, I find your headline misleading. htmx uses javascript, there's no accessing anything "directly from html". you could say that about any framework with directives, ie vue, but we all know better.

discuss

order

andersmurphy|4 months ago

It's really good for streaming view updates to your users in realtime.

blinkbat|4 months ago

you mean via SSE? is any part of that an inherent "htmx only" thing, or even a "markup API only" thing?

a framework using a neat piece of technology isn't really a boon for the framework -- the technology of streaming itself is great, sure, but you can do that with any stack.