andersch.dev

<2025-04-14 Mon>
[ web ]

HTML-over-the-wire

HTML-over-the-wire is an approach to building interactive web applications that uses server-side rendering (HTML sent from server to client). It contrasts with SPA approaches that rely on client-side rendering of JSON data.

It can reduce the amount of JS code required and updates specific regions of the DOM as a reconciliation strategy.

Implementations include htmx and Hotwire.