News for hackers. Stuff that matters.
Re:The Hypermedia-Driven Application (HDA) Architecture by tomnipotent on Sunday February 06, 2022 @03:41PM (#30236769)
So each HTML element can have a a JS onclick handler (via htmx) that hits the server, which generates HTML, and the requesting page then uses JS to replace the instructed DOM node?

This reminds me of the era before AJAX when we used to POST to a hidden iframe, and then JS in the hidden iframe would update the parent page.

Re:The Hypermedia-Driven Application (HDA) Architecture by southerntofu on Monday February 07, 2022 @08:26AM (#30244482)
Yes that's about the idea, except since HTMX is somewhat specified there is hope for browsers to implement that natively and therefore empower users, not remote website operators.