router-core/ssr

Official

SSR for TanStack Router: client/server rendering.

AuthorTanStack
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TanStack Router SSR enables developers to render routes on the server, then hydrate on the client, combining faster first paints with full client interactivity.

Core Features & Use Cases

  • Non-streaming SSR: server-render complete pages for fast initial load.
  • Streaming SSR: progressively stream content for better perceived performance.
  • Document head management: coordinated head tags across server and client.
  • Unified loader hydration: dehydrates on server and hydrates on client for data consistency.
  • Server/client parity: single router factory used in both environments.

Quick Start

Set up a shared router, enable SSR with createRequestHandler, and render with defaultRenderHandler or defaultStreamHandler to serve both non-streaming and streaming responses.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: router-core/ssr
Download link: https://github.com/TanStack/router/archive/main.zip#router-core-ssr

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.