# TanStack Router - tRPC with React Query Example An example demonstrating integration of tRPC with TanStack Query. - [TanStack Router Docs](https://tanstack.com/router) - [tRPC Documentation](https://trpc.io) - [TanStack Query Docs](https://tanstack.com/query) ## Start a new project based on this example To start a new project based on this example, run: ```sh npx gitpick TanStack/router/tree/main/examples/react/with-trpc-react-query with-trpc-react-query ``` ## Getting Started Install dependencies: ```sh pnpm install ``` Start the development server: ```sh pnpm dev ``` ## Build Build for production: ```sh pnpm build ``` ## About This Example This example demonstrates: - tRPC integration with TanStack Router - TanStack Query for data fetching - Type-safe API calls with caching - End-to-end type safety - Optimistic updates