AI agents: fetch the documentation index at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
Server-side rendering and bootstrap
Prefetch data on the server, serialize snapshots, and hydrate the client for instant first paint.
Prefetch data on the server, embed it in the HTML, and seed client storage. The client starts its delta stream from where the server left off: no loading spinners.
Why bootstrap matters
Without SSR bootstrap, the browser shows a spinner while fetching from the sync API. With bootstrap, data is embedded in the HTML response: users see content immediately.
Without SSR bootstrap
sequenceDiagram
participant Browser
participant Server
participant SyncAPI
Browser->>Server: Request page
Server-->>Browser: HTML (empty shell)
Browser->>Browser: Mount React, show loading spinner
Browser->>SyncAPI: Bootstrap request
SyncAPI-->>Browser: NDJSON stream of model data
Browser->>Browser: Populate stores, re-render with data