3 ms·
I would very much like to see someone move htmx-like hypermedia functionality into a browser. While innovating around the chrome of the browser is certainly ni
by recursivedoubts 4y ago
I would very much like to see someone move htmx-like hypermedia functionality into a browser.
While innovating around the chrome of the browser is certainly nice, it seems to me that hypermedia is just a few small tweaks away from being a viable alternative to the SPA approach for many applications, and it really wouldn't be much code at all to support.
- s7r 4y agoCan you elaborate on this? What could a browser look like/do, that has htmx-like hypermedia functionality in it?
- recursivedoubts 4y agoBasically generalize the concept of hypermedia controls (links and forms) in the manner of htmx: - generalize event triggers for hypermedia requests - allow targeted replacement of HTML within a page (rather than requiring a full page refresh) - surface all the HTTP methods (DELETE, PATCH, PUT) in plain HTML All small things on top of normal HTML functionality, but, together, allow much more sophisticated user interfaces to be built: https://htmx.org/examples https://htmx.org/examples