top | item 45598342

(no title)

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.

discuss

order

andersmurphy|4 months ago

Sure, but the browser is fast and rendering HTML so why stream anything else? Why stream javascript + json to build html. You're adding a bunch of marshalling that doesn't need to be there.

brooke2k|4 months ago

Yeah, as I understand it the idea is that instead of making the server-side complex and the frontend code complex, you retain as much complexity server-side as possible and treat the browser as just a hypermedia renderer.

If a part of the page needs to change, the server figures out what it should change to and sends that page fragment.

At least, that's my cursory understanding from reading https://hypermedia.systems