
TanStack Start Has a Free API: The Full-Stack React Framework From the TanStack Router Team
TanStack Start is a new full-stack React framework built on TanStack Router and Nitro. It combines type-safe routing, server functions, and SSR/SSG into one framework — with the same quality as TanStack Query. Why TanStack Start? Type-safe routing — routes are fully typed, including params and search Server functions — call server code from client, RPC-style Nitro-powered — deploy to 20+ platforms TanStack Router — the best router in React ecosystem File-based routing — with full type inference Quick Start npm create @tanstack/start my-app cd my-app npm install npm run dev File-Based Routes (Type-Safe) // routes/index.tsx import { createFileRoute } from ' @tanstack/react-router ' ; export const Route = createFileRoute ( ' / ' )({ component : HomePage , }); function HomePage () { return < h1 > Welcome to TanStack Start !< /h1> ; } // routes/users/$userId.tsx import { createFileRoute } from ' @tanstack/react-router ' ; export const Route = createFileRoute ( ' /users/$userId ' )({ loader
Continue reading on Dev.to React
Opens in a new tab



