TanStack Start Local Development Guide
TanStack Start is a full-stack React framework based on TanStack Router, supporting SSR and type-safe routing, commonly accessed at localhost:3000.
TanStack Start is a full-stack React framework in the TanStack ecosystem, built on top of TanStack Router, offering type-safe routing, SSR, streaming rendering, and various deployment adapters.
Quick Start
npm create @tanstack/start@latest my-app
cd my-app
npm install
npm run devDefault localhost Access
| Purpose | Address |
|---|---|
| Development Server | http://localhost:3000 |
The port can be modified in the project configuration, as indicated by terminal output.
Core Features
- Type-Safe Routing: Route parameters and search parameters are fully inferred with TypeScript.
- SSR / Pre-rendering: Suitable for SEO and first-screen performance.
- Collaboration with Libraries like TanStack Query: Unified data loading patterns.
Common Commands
| Command | Description |
|---|---|
npm run dev | Development mode |
npm run build | Production build |
npm run start | Run production server |
Summary
TanStack Start is ideal for React full-stack projects that prioritize type safety and routing experience, with local development typically accessed at http://localhost:3000.