News for hackers. Stuff that matters.
Re:Why one web pioneer thinks it’s time to reinvent the browser by recursivedoubts on Monday October 31, 2022 @08:35PM (#33415416)
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.

Re:Why one web pioneer thinks it’s time to reinvent the browser by s7r on Monday November 07, 2022 @02:42PM (#33511241)
Can you elaborate on this? What could a browser look like/do, that has htmx-like hypermedia functionality in it?
Re:Why one web pioneer thinks it’s time to reinvent the browser by recursivedoubts on Monday November 07, 2022 @08:44PM (#33515009)
Basically 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