TanStack Start
Evaluation of the full-stack React and Solid framework, its client-server boundaries, and when to adopt it.
Evaluation of the full-stack React and Solid framework, its client-server boundaries, and when to adopt it.
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.
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.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.QueryClient pattern: a global instance can mix session data. Do not add an external cache if loaders are sufficient.| 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. |
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.