SPA Navigation

Every <a> link inside the LiveTemplate wrapper is auto-intercepted. Same-pathname links use the in-band WebSocket __navigate__ action; cross-pathname links fetch and reconnect transparently. External targets opt out with lvt-nav:no-intercept.

Same-pathname (in-band __navigate__)

Click these to update ?step= without an HTTP round-trip. The page does not reload — only this section re-renders.

Step 3 of 3.

Cross-pathname (WebSocket reconnect)

Each pattern is its own handler with its own data-lvt-id. Clicking these links triggers a fetch + DOM swap + WebSocket reconnect — without a hard page reload.

Opt-out (lvt-nav:no-intercept)

External links should opt out so the browser handles them natively.

example.com — opt-out via lvt-nav:no-intercept