tanstack-start

Build full-stack React apps with SSR, streaming, and type-safe server functions.

3|Updated May 11, 2026
One-click install
npx skills add https://github.com/JeromyJSmith/lattice-platform --skill tanstack-start-jeromyjsmith
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tanstack-start
Source: https://github.com/JeromyJSmith/lattice-platform/tree/main/.agents/skills/skills/tanstack-start
Command: npx skills add https://github.com/JeromyJSmith/lattice-platform --skill tanstack-start-jeromyjsmith

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TanStack Start eliminates the friction of building, routing, and deploying full-stack React apps by providing a cohesive framework for SSR, streaming, server functions, and hosting portability.

Core Features & Use Cases

  • Full-stack SSR with streaming: Improve perceived performance by streaming critical and deferred data from routes.
  • Type-safe server functions (createServerFn): Implement RPC-style data fetching and mutations with validation and typed inputs.
  • Router-driven API routes and deployment presets: Co-locate UI routes and server endpoints, then deploy using Nitro presets with minimal platform changes.

Quick Start

Scaffold a new TanStack Start project, then add a route and a validated server function to fetch and display data on load.

Frequently Asked Questions about tanstack-start

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build full-stack React apps with SSR and streaming?

Full-stack React apps with SSR and streaming are built using TanStack Start and TanStack Router to stream critical and deferred data from routes, improving perceived performance. This framework provides a cohesive structure for server functions and deployable routing.

How do I create type-safe server functions for data fetching and mutations?

Type-safe server functions for data fetching and mutations are implemented using createServerFn handlers. These RPC-style handlers include built-in validation and typed inputs to ensure end-to-end type safety for your data operations.

Can I co-locate UI routes and API endpoints in a React router directory?

You can co-locate UI routes and server endpoints directly in route directories using TanStack Router. This router-driven approach allows you to manage API route creation alongside your UI components within the same file structure.

Does TanStack Start support middleware composition for auth guards?

TanStack Start supports optional middleware composition for implementing auth guards and route protection. Middleware can be applied to server functions and routes to secure data fetching and manage user access control.

How do I deploy a full-stack React app using Nitro presets?

Deploying a full-stack React app using Nitro presets requires configuring an app.config.ts file for your hosting platform. This setup enables deployment portability with minimal platform changes to the underlying server configuration.

What is the best way to handle data mutations in a TanStack Router application?

The best way to handle data mutations in a TanStack Router application is by using validated createServerFn handlers. This approach provides RPC-style mutations with typed inputs, ensuring data integrity and type safety across the full stack.