Fragments, not client-side state machines
A partial route can return a Twig fragment. HTMX can swap it into the page. This is enough for many dynamic interfaces.
note
The browser remains a document viewer with some behavior instead of becoming a distributed systems research project.