What problem does it solve? Setting up a TanStack Start application with React requires correctly wiring many pieces—Vite plugins, router factories, root routes, server functions, and hydration scripts—and small mistakes like importing from the wrong package or missing the Scripts component silently break the app. ## Core Features & Use Cases - Full Project Setup: Step-by-step configuration of package.json, tsconfig, vite.config.ts, router factory, root route, and index route for a working React Start app. - Server Functions in React: Use createServerFn and the useServerFn hook to call server-only logic from React components with full type inference. - Common Mistake Prevention: Documents critical pitfalls such as importing createServerFn from @tanstack/react-router instead of @tanstack/react-start, using React hooks in loaders, and omitting the Scripts component. - Use Case: You are scaffolding a new full-stack React app with TanStack Start and need the correct vite plugin order, root document structure with HeadContent and Scripts, and a typed server function wired into a route loader. ## Quick Start Set up a new TanStack Start project with React including the vite config, router, root route, and a server function.