0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/examples/react/basic-ssr-streaming-file-based
History 2026-03-04 20:37:33 +00:00
..
.vscode chore(examples): add .vscode/settings.json configuration (#3349) 2025-02-07 10:29:48 +13:00
public/images fefactor: restructure SSR handling between start/router (#4495) 2025-06-26 22:14:57 +02:00
src fix: redirect respects rewrites (#5315) 2025-09-30 20:41:43 +02:00
.gitignore fix: ssr examples 2023-12-05 15:13:49 -07:00
package.json release: v1.166.2 2026-03-04 20:37:33 +00:00
README.md docs(examples): standardize the READMEs for the React examples (#6014) 2025-12-07 01:39:44 +13:00
server.js fefactor: restructure SSR handling between start/router (#4495) 2025-06-26 22:14:57 +02:00
tsconfig.json fefactor: restructure SSR handling between start/router (#4495) 2025-06-26 22:14:57 +02:00
vite.config.ts fefactor: restructure SSR handling between start/router (#4495) 2025-06-26 22:14:57 +02:00

TanStack Router - SSR Streaming File-Based Example

An example demonstrating server-side rendering with streaming and file-based routing.

Start a new project based on this example

To start a new project based on this example, run:

npx gitpick TanStack/router/tree/main/examples/react/basic-ssr-streaming-file-based basic-ssr-streaming-file-based

Getting Started

Install dependencies:

pnpm install

Start the development server:

pnpm dev

Build

Build for production:

pnpm build

About This Example

This example demonstrates:

  • Server-side rendering with streaming
  • File-based routing
  • Progressive rendering
  • Suspense boundaries
  • Optimized time-to-first-byte