Thursday, September 25, 2025
All the Bits Fit to Print
A developer's exploration of HTMX limitations leading to the creation of MESH for modular server-side rendering.
Alex Moon experimented with HTMX for modular server-side rendering but ultimately created MESH, a framework combining HTML-first SSR with SPA-like structure and hydration.
Why it matters: MESH aims to unify modular SSR with component-based design, addressing HTMX’s lack of enforced structure and shadow DOM limitations.
The big picture: This approach echoes frameworks like HotWire and LiveView, suggesting a back-end-agnostic path for modular SSR with one component per endpoint.
The stakes: HTMX’s design limits crossing shadow DOM boundaries, forcing hacks or complete avoidance of shadow DOM to enable modular updates.
Commenters say: Readers appreciate the thoughtful exploration but debate whether HTMX’s flexibility is a strength or a weakness, with some seeing added layers as missing HTMX’s point.