SSR, Streaming & Deployment

TanStack Start provides full-document SSR, streaming, and portable server output.

Full-Document SSR

Start can render complete HTML on the server and hydrate it on the client. Benefits include first paint, SEO, loader data in HTML, and the same client navigation experience.

Streaming

Streaming sends ready UI first and fills slow Suspense boundaries later. Keep critical content fast and put slow data behind local Suspense.

Build Output

.output/
??? public/
??? server/

Actual output depends on version, build tool, and deployment preset.

Deployment Targets

PlatformWatch for
Node serversimplest self-host / Docker path
Vercel / Netlifyserverless preset and cold starts
Cloudflare Workersedge runtime and Node API compatibility
Railway / Fly.ioregions, env vars, database latency

Production Checklist

Pin versions, validate input, enable CSRF / Origin checks, test SSR and client navigation, and verify streaming behavior on your host.

Next Steps