Showcases server render output, snapshot transfer, and browser activation without an implicit startup fetch.
Key files:
index.htmlprovides the#appactivation root.main.jsbuilds a shared app definition, renders a server response, applies the HTML, reads the snapshot, and starts the browser runtime.
Start from the repo root:
python3 -m http.server 4173Open http://127.0.0.1:4173/examples/ssr/.
This static SSR adapter simulates the server-to-browser handoff in one page.
It inserts the complete server render into the activation host; the snapshot
itself is consumed through the public readSnapshot(document) API before
framework startup. Application feature code begins after
createApp(...).start() and remains registry driven.
Verify:
pnpm run examples:check