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
..
.devcontainer
.vscode
public/images
src
.gitignore
package.json
README.md
server.js
tsconfig.json
vite.config.ts

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