Docs

SSR and Hydration

Choose rendering mode based on your UX and performance goals.

Updated: 2026-02-23

Hydration modes

Use full for interactive apps, islands for partial hydration, none for content-first static-like pages.

src/app.tsx
defineCounterSite({
  pages,
  layout,
  hydrateMode: 'islands',
});

Streaming

Server helpers can stream HTML chunks to improve time-to-first-byte and progressively flush response.