TanStack Start vs Next.js 15 App Router: When the New Kid Actually Wins

TL;DR — Use TanStack Start for authenticated apps, URL-state-heavy dashboards and Vite SPAs that need SSR. Use Next.js 15 App Router for SEO-heavy content and commerce built on RSC and caching, or for big teams that need the largest ecosystem.

TanStack Start vs Next.js 15 is the React framework decision that matters most in 2026. Start has reached stable, and it is not just Next.js with extra steps. Next.js 15's App Router is built around React Server Components and server-side caching. TanStack Start is built around a type-safe router, plain server functions and Vite. They cover the same ground (SSR, streaming, data loading, deployment), but each one is designed for a different kind of app.

I've shipped production apps on both. Below I compare the routing model, server function ergonomics and streaming SSR. Then I list the three project shapes where Start clearly wins and the two where it clearly loses.

What is TanStack Start?

TanStack Start: a full-stack React framework built on TanStack Router and Vite. It adds SSR, streaming, server functions and deployment adapters to the router that many teams already use in SPAs.

The mental model is client-first. Your components are ordinary React components that render on the server and then hydrate. Server code goes inside createServerFn and is called like a normal async function. There's no 'use client' boundary to manage and no split between server and client components. If you already run TanStack Router plus TanStack Query in a Vite SPA (the stack from our modern React setup without CRA), Start is the smallest step up to SSR available.

How does routing differ between TanStack Start and Next.js 15 App Router?

Both use file-based routing. TanStack Start generates a fully typed route tree, so params, search params and loader data are type-checked from end to end. Next.js gives you string-based params and untyped search params.

The gap is bigger than it sounds. In Start, search params are validated, typed state:

// src/routes/projects.$projectId.tsx
import { createFileRoute } from '@tanstack/react-router'
import { z } from 'zod'
import { getProject } from '../server/projects'

const searchSchema = z.object({
  tab: z.enum(['overview', 'issues', 'settings']).catch('overview'),
  page: z.number().int().min(1).catch(1),
})

export const Route = createFileRoute('/projects/$projectId')({
  validateSearch: searchSchema,
  loaderDeps: ({ search }) => ({ page: search.page }),
  loader: ({ params, deps }) =>
    getProject({ data: { id: params.projectId, page: deps.page } }),
  component: ProjectPage,
})

function ProjectPage() {
  const project = Route.useLoaderData()
  const { tab } = Route.useSearch() // 'overview' | 'issues' | 'settings'
  return <ProjectView project={project} tab={tab} />
}

Here's the same thing in Next.js 15. params and searchParams are now Promises, and every value is string | string[] | undefined until you parse it yourself:

// app/projects/[projectId]/page.tsx
export default async function Page({
  params,
  searchParams,
}: {
  params: Promise<{ projectId: string }>
  searchParams: Promise<Record<string, string | string[] | undefined>>
}) {
  const { projectId } = await params
  const sp = await searchParams
  const tab = typeof sp.tab === 'string' ? sp.tab : 'overview'
  // hope nobody typos ?tab=isues
}

One gotcha in Start: loaders can't read search params directly. You have to declare them through loaderDeps, and that declaration doubles as the cache key. The first time, I spent 20 minutes wondering why my loader didn't re-run on pagination. It's in the docs, but buried. Once you get it, it's the right design. The cache key is explicit, so stale data never comes from a param you forgot about. For a deeper look at the router itself, see our TanStack Router vs React Router v7 comparison.

typescript route autocomplete
typescript route autocomplete

What do server functions look like in each framework?

TanStack Start server functions are explicit RPC endpoints with built-in input validation. You can call them anywhere: in loaders, in event handlers, or from TanStack Query. Next.js Server Actions are tied to forms and mutations, and you read data through async Server Components instead.

// src/server/projects.ts
import { createServerFn } from '@tanstack/react-start'
import { z } from 'zod'
import { db } from './db'

export const getProject = createServerFn({ method: 'GET' })
  .inputValidator(z.object({ id: z.string(), page: z.number() }))
  .handler(async ({ data }) => {
    return db.project.findWithIssues(data.id, { page: data.page })
  })

export const renameProject = createServerFn({ method: 'POST' })
  .inputValidator(z.object({ id: z.string(), name: z.string().min(1) }))
  .handler(async ({ data }) => db.project.update(data.id, { name: data.name }))

Calling renameProject({ data: { id, name } }) from a click handler just works, and the return type flows through to the caller. In Next you'd write a 'use server' action, call revalidatePath or revalidateTag, and then work out which cache layer is still serving stale data. Next 15 made fetch uncached by default, which helped. But the cache model is still the thing that sends App Router devs down Stack Overflow rabbit holes at 11pm.

My opinion: Start's model is easier to reason about, and Next's is more powerful when you need it. Server Actions plus RSC let you skip the client bundle completely for read-heavy pages. Start can't fully match that yet.

Is streaming SSR better in TanStack Start or Next.js?

Both stream well. The difference is who controls it. Next streams automatically at every loading.tsx and Suspense boundary inside the RSC tree. Start streams when you return an unawaited promise from a loader and render it with <Await>.

loader: async ({ params }) => {
  const project = await getProject({ data: { id: params.projectId, page: 1 } })
  const activity = getActivity({ data: params.projectId }) // not awaited: streams later
  return { project, activity }
},

// in the component
const { project, activity } = Route.useLoaderData()
return (
  <Await promise={activity} fallback={<ActivitySkeleton />}>
    {(items) => <ActivityList items={items} />}
  </Await>
)

Start also has selective SSR: set ssr: false or ssr: 'data-only' per route. This is the killer feature for apps where some routes use browser-only libraries such as canvas editors, maps or rich text. In Next you'd reach for dynamic(() => import(...), { ssr: false }) wrappers and hydration-mismatch whack-a-mole. In Start it's one line on the route.

TanStack Start: where it beats Next.js

Verdict: TanStack Start is the better pick for interactive, authenticated apps where type-safe URL state matters more than a minimal JS bundle. Three project shapes where it wins outright:

  • SaaS dashboards behind auth. SEO doesn't matter, every page is interactive, and RSC's main benefit (shipping less JS) barely applies. Start's client-first model fits, and you skip the client/server component split entirely.
  • URL-state-heavy apps. Data tables, filters, search UIs, admin panels. Typed, validated search params with loaderDeps caching beat hand-parsing searchParams by a wide margin.
  • Existing Vite SPAs that need SSR. If you're already on TanStack Router and Query, adopting Start is mostly additive. You keep Vite, your plugins, and your bundler choice. Moving to Next means a rewrite and Turbopack.

Deployment is another quiet win. Start runs on Node, Bun, Cloudflare, Netlify (TanStack's official hosting partner, with zero-config deploys) and Vercel, and nothing behaves differently on non-Vercel platforms.

react developer dashboard
react developer dashboard

Next.js 15 App Router: where it still clearly wins

Verdict: Next.js 15 is still the right call for content-heavy, SEO-critical sites and for large teams that need the biggest ecosystem and hiring pool. Two shapes where Start loses:

  • Content and e-commerce at scale. Product catalogues, marketing sites with dynamic bits, and media sites. RSC, static generation, ISR and tag-based revalidation are a mature toolkit for read-heavy pages that need low JS and fast TTFB. Start's RSC story is still maturing and isn't the default model. (For pure content sites, consider Astro: see our Astro 5 vs Next.js 15 breakdown.)
  • Big teams and long-lived codebases. Every auth library, CMS, and UI kit ships a Next.js example first. New hires already know it. When something breaks, someone on GitHub has hit it before. That ecosystem gravity is real, and Start is still a few years behind.

If you deploy Next, Vercel remains the path of least resistance. Features like partial prerendering and image optimisation work there with no adapter fiddling.

Which React framework should you pick in 2026?

Pick TanStack Start for new authenticated apps, dashboards and internal tools, and for any Vite SPA that needs SSR. Pick Next.js 15 for SEO-heavy content and commerce, or when team size and ecosystem coverage outweigh developer ergonomics.

My default for a fresh SaaS project is now Start. The type-safe routing alone has removed a whole class of bugs I used to catch in QA, and I haven't missed RSC on a single dashboard route. Whichever you choose, wire in Sentry early. Both frameworks have server/client boundaries where errors vanish silently, and Sentry's SDK covers both.

FAQs

Is TanStack Start production ready in 2026?

Yes. TanStack Start has a stable 1.x release, and it's built on TanStack Router, which has been production-proven for years. The rough edges are in ecosystem coverage (fewer third-party examples), not in the core framework.

Does TanStack Start support React Server Components?

RSC support is in progress, but it isn't the default model. Start is client-first: components render on the server and hydrate. If your architecture depends on RSC today, use Next.js.

Can I migrate a Next.js App Router project to TanStack Start?

You can, but expect a rewrite of data fetching. Server Components become route loaders, and Server Actions become createServerFn calls. UI components move over largely unchanged, so migrate one route section at a time if the app is large.

Can TanStack Start deploy to Vercel?

Yes. Start deploys to Vercel, Netlify, Cloudflare, Node and Bun. Netlify is the official hosting partner, but there's no platform lock-in.

Is TanStack Start faster than Next.js?

In development, Start on Vite usually feels faster for cold starts and HMR on mid-size apps. At runtime it depends on the app: Next ships less JS on RSC-heavy content pages, while Start keeps client-side navigation fast through router-level caching and preloading.

H
Hiten

Senior frontend engineer and architect: 17 years shipping complex web platforms, plus Android and iOS apps for clients. More at hiten.dev