Boris Eetgerink

February 20, 2023

htmx: a RESTful SPA companion

In my article about a RESTful SPA I listed a few requirements:

  1. It should work with rendered HTML instead of JSON.
  2. It should intercept links and form submissions.
  3. It should update sections of the page based on the response from the server.
  4. It should update the browser URL and navigation history.
  5. It should update the browser title with the title from the response.

It turns out that htmx does exactly that, and so much more. Please star it on GitHub and give it a try!

About Boris Eetgerink

Hey, this is my C# .NET blog. I don't have a comments system, but you can contact me at boriseetgerink at hey dot com.