react-start

Set up React bindings for TanStack Start with server/client rendering.

14.9k|1.8k|Updated Jan 14, 2019
One-click install
npx skills add https://github.com/TanStack/router --skill react-start
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: react-start
Source: https://github.com/TanStack/router/tree/main/packages/react-start/skills/react-start
Command: npx skills add https://github.com/TanStack/router --skill react-start

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React development with TanStack Start often requires boilerplate to wire up server and client rendering, type-safe routing, and a consistent project structure. This skill provides the React bindings and full setup to streamline this workflow.

Core Features & Use Cases

  • React bindings for TanStack Start: createStart, StartClient, StartServer, React-specific imports, re-exports from @tanstack/react-router.
  • Full project setup with React, including server/client components and isomorphic code.
  • Use cases: building SSR apps, data-driven routing, and end-to-end TanStack Start projects.

Quick Start

Install the package and initialize the Start project in your React app to boot.

Frequently Asked Questions about react-start

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

FAQPage Schema
How do I set up server and client rendering for a React app with TanStack Start?▼

TanStack Start provides React bindings like createStart, StartClient, and StartServer to wire up isomorphic code and enable end-to-end server/client rendering for your project.

What is the best way to configure type-safe routing in a TanStack Start SSR project?▼

The best way to configure type-safe routing in a TanStack Start SSR project is by leveraging React-specific imports and re-exports from @tanstack/react-router included in the React bindings.

Does TanStack Start work with React for full-stack server-rendered applications?▼

Yes, TanStack Start works with React to build full-stack server-rendered applications by providing the necessary bindings for isomorphic code, data-driven routing, and consistent project structure.

How do I use useServerFn to handle server-side logic in a React SSR app?▼

You use useServerFn within your TanStack Start React bindings to define and execute server-side logic, enabling seamless end-to-end server/client rendering and data fetching integration.

What do I need to initialize a TanStack Start project in an existing React application?▼

To initialize a TanStack Start project in a React application, you need to install the required packages and leverage start-core, React, and related tooling to deliver a full project setup with code examples.