Overview
TanStack Start is our default for web apps and content sites because it unifies type-safe routing, server functions and rendering with strong defaults.
Strengths
- Type-safe, file-based routing with data loaders.
- Server functions and SSR reduce client JavaScript by default.
- Deploys anywhere Vite runs — Vercel, Cloudflare or a Node host.
When not to
For heavily stateful, realtime-first apps you may prefer a separate API + SPA, or a framework tuned to your runtime.
Deployment
route loader
export const Route = createFileRoute("/")({
loader: () => db.post.findMany({ take: 10 }),
component: () => <List items={Route.useLoaderData()} />,
});