Jake Lazaroff avatar Jake Lazaroff

Building a Single-Page App with htmx

Screenshot of “Building a Single-Page App with htmx”

It’s a simple proof of concept todo list. Once the page is loaded, there is no additional communication with a server. Everything happens locally on the client.

How does that work, given that htmx is focused on managing hypermedia exchanges over the network?

With one simple trick: the “server-side” code runs in a service worker.