TanStack Start
Full-stack React framework built on TanStack Router with SSR, server functions, and file-based routing. Uses Vite as build tool and Vinxi as the server toolkit. Competes with Next.js and Remix but with TanStack Router's type-safety advantages. Server functions ('use server') co-locate server and client code. Built for the full-stack TypeScript developer who wants type safety from database to UI.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
Standard web security model. Server functions run on server — no secret leakage to client. CORS handled by Vinxi server. CSP and other headers are application responsibility.
⚡ Reliability
Best When
You're already using TanStack Router and want full-stack capabilities with end-to-end type safety and server functions.
Avoid When
You need a battle-tested, production-ready framework — TanStack Start is still reaching 1.0 stability; Next.js and Remix have larger ecosystems.
Use Cases
- • Build full-stack React applications with SSR and type-safe routing using TanStack Router's end-to-end type safety
- • Write server functions co-located with React components for data fetching and mutations without separate API routes
- • Migrate from Next.js to a framework with better TypeScript integration and TanStack ecosystem compatibility
- • Build data-heavy applications that leverage TanStack Query's caching alongside SSR for optimal performance
- • Create server-rendered apps where TanStack Router's type-safe navigation and search params are critical
Not For
- • Teams needing production-ready frameworks with large ecosystems today — Next.js or Remix are more mature
- • Non-React projects — TanStack Start is React-specific
- • Static sites — use Astro or a pure SSG for content-heavy sites without interactivity
Interface
Authentication
Framework only — authentication is handled by the application developer using libraries like better-auth, lucia, or clerk.
Pricing
MIT licensed. Part of TanStack open source ecosystem. Completely free. Deploy to Vercel, Netlify, Cloudflare, or any Node.js host.
Agent Metadata
Known Gotchas
- ⚠ TanStack Start requires route codegen (tsr generate) before TypeScript type checking — routes are not inferred without running the generator
- ⚠ Server functions ('use server' directive) are similar to React Server Actions but with TanStack-specific semantics — don't assume Next.js SA compatibility
- ⚠ Vinxi server toolkit under the hood adds an abstraction layer — some Node.js hosting configurations need Vinxi-specific setup
- ⚠ TanStack Start is approaching 1.0 but APIs may still change — pin versions carefully and check changelog before upgrading
- ⚠ File-based routing uses TanStack Router conventions (not Next.js pages/ or app/ directory) — migration requires restructuring routes
- ⚠ TanStack Query integration for SSR requires specific dehydration/hydration patterns — data fetching patterns differ from Next.js getServerSideProps
Alternatives
Full Evaluation Report
Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for TanStack Start.
Scores are editorial opinions as of 2026-03-06.