0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/examples/react/start-streaming-data-from-server-functions
History 2026-03-04 20:37:33 +00:00
..
public examples: Add a new TanStack Start example for typed readable streams (#5363) 2025-10-06 23:13:40 +02:00
src examples: Add a new TanStack Start example for typed readable streams (#5363) 2025-10-06 23:13:40 +02: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
tsconfig.json examples: Add a new TanStack Start example for typed readable streams (#5363) 2025-10-06 23:13:40 +02:00
vite.config.ts examples: Add a new TanStack Start example for typed readable streams (#5363) 2025-10-06 23:13:40 +02:00

TanStack Start - Streaming Data Example

A TanStack Start example demonstrating streaming data from server functions.

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/start-streaming-data-from-server-functions start-streaming-data-from-server-functions

Getting Started

From your terminal:

pnpm install
pnpm dev

This starts your app in development mode, rebuilding assets on file changes.

Build

To build the app for production:

pnpm build

Streaming Data

This example demonstrates how to stream data from server functions to the client, enabling:

  • Progressive data loading
  • Real-time updates
  • Improved perceived performance