Wait What?An index of technical studies
Technical study / tanstack-startWeb Frameworks

TanStack Start

Evaluation of the full-stack React and Solid framework, its client-server boundaries, and when to adopt it.

Reading / tanstack-startWeb Frameworks
Primary theme
Web Frameworks
Secondary themes
React · Solid · Server-side rendering
Created
Updated

Question: when should you add TanStack Start rather than keep a SPA with TanStack Router and a separate API? Start is worth trying for an interactive React application that also needs server-rendered HTML and UI-specific server operations. For a static site or a SPA already well served by its API, do not introduce this runtime without a concrete need.

TanStack announced Start 1.0 stable on October 13, 2026. The guides document it for React and Solid. This study focuses on React and stable features; React Server Components remain experimental according to the documentation. This is a documentary review only: no deployment or benchmark was performed.

What Start adds to TanStack Router

  • Typed routing and URLs. TanStack Router provides nested routes, parameters, URL filter validation, and loaders. Start keeps this layer and adds the server plus client and server builds with Vite or Rsbuild. Typed routing alone therefore does not justify Start.
  • Rendering on a per-route basis. Selective SSR lets you render a route on the server for the initial request (the default), load only its data (ssr: 'data-only'), or handle that route in the browser (ssr: false). Static prerendering produces HTML at build time; it does not provide a server to execute a mutation after publication.
  • An explicit server boundary. A loader is isomorphic: it can run on the server during the initial load and in the browser during navigation. A createServerFn function executes only on the server and remains callable from the application. A server route is preferable for an API consumed outside the application. Types replace neither input validation nor access control on the server operation.
  • Optional caching. TanStack Query is optional. It becomes useful if several routes share data or a mutation needs to invalidate their cache. For SSR, follow the per-request QueryClient pattern: a global instance can mix session data. Do not add an external cache if loaders are sufficient.

Choosing among alternatives

Option Prefer it when… Trade-off
TanStack Router alone A SPA already consumes an API and server rendering of the initial response is not required. No Start runtime to operate; the API remains a separate component.
TanStack Start Typed routes, SSR, and UI-specific server operations need to coexist. Execution boundaries, hydration, and deployment become part of the maintenance cost.
React Router, Framework mode The team already uses React Router and wants its typed route modules, loaders, and actions. It also covers SPA, SSR, and static output; compare conventions on a real route rather than a feature list.
Next.js App Router The project wants React Server Components as the default model for its pages and layouts. The model starts on the server; in Start, regular components remain the default even with SSR.

Risks and a first trial

The hosting guide documents Node.js/Docker and Cloudflare Workers, among other options. These are distinct targets: validate the production build, dependencies, and cache headers on the intended host before concluding that it is portable. Treat server functions as HTTP entry points: check sessions and permissions in the handler or server middleware, and keep the documented CSRF protection if customizing src/start.ts.

Suggested trial: a list with typed URL filters, a public detail page rendered on the server, and a private favorite that can be changed through createServerFn. Use React, Vite, and the target host, without React Server Components. Verify that public content appears in the initial HTML, a filter survives a direct link and navigation, an unauthenticated mutation is rejected, and a favorite does not leak between two sessions. Compare the same slice with the reference solution (SPA + API or the framework already in place). Keep Start only if SSR or its integrated server layer provides an observable benefit without making deployment more complex.

In this repository: the GTA VI interactive map PoC is described in the Ideas project notes; it does not need Start because its catalog is static and progress is local. Reconsider Start if the product needs both server-rendered public detail pages and private functions, for example to synchronize progress across devices.

Sources