Jul 01, 2022

htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext

The idea as I understand it (i.e. minimally) is that instead of using javascript you can render templated HTML on the server side and send them over the wire where they can be dynamically inserted, creating an SPA-like app with less hassle.

I'm probably misunderstanding though, to research.

via, though I've seen it before

In recent years, a few mavericks and renegades have started to turn away from the world of JS frameworks and the inevitable bloated node_modules folders. But what if you want a smooth single-page app experience, rather than waiting for the whole page to render every time you click a button? Of course, nobody wants to write a load of boilerplate JS for every little interaction. This is where hypermedia in the form of htmx and hyperscript come in.

↑ up