Alex Rivera
Back to blog

Getting Started with TanStack Start

·Alex Rivera
TanStackReactSSRTypeScript

After years of working with Next.js, I recently switched my personal projects to TanStack Start, and I haven't looked back. Here's what I've learned.

What is TanStack Start?

TanStack Start is a full-stack React framework that builds on top of TanStack Router — the only fully type-safe router in the React ecosystem. It handles SSR, file-based routing, server functions, and deployment adapters (including Netlify).

Why I Switched

The main reason: type safety end-to-end. With TanStack Router, your route params, search params, and loader data are all fully typed with no casting required. It catches routing bugs at compile time.

// Route params are fully inferred
const { slug } = Route.useParams() // string — no `as string` needed

Getting Started

npm create tsrouter-app@latest my-app --template start-basic
cd my-app && npm run dev

Within minutes you have SSR, file-based routing, and Vite's fast HMR. Give it a try.