nextjs-to-tanstack

Installation
SKILL.md

Next.js to TanStack Start Migration

Core Philosophy

  • Explicit over magic — TanStack Start has no use client/use server directives, no implicit RSC boundaries, no opaque caching layers. Server code is explicitly declared with createServerFn() and route loader functions.
  • Deploy anywhere — Nitro abstracts all platform differences. Same codebase deploys to Vercel, Cloudflare Workers, AWS Lambda, Bun, Deno, or a $20/mo VPS. No vendor lock-in.
  • Type safety end-to-end — Route params, loader data, search params, and server function return types are all inferred by TypeScript. Invalid routes are compile errors.
  • Client-first, server-capable — All components are standard React. Server capabilities are added explicitly, not assumed by default. The mental model is a React SPA that can optionally fetch data on the server.

Quick-Start: What Are You Migrating?

Installs
1
GitHub Stars
1
First Seen
May 31, 2026
nextjs-to-tanstack — tankpkg/packages