0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/examples/react/kitchen-sink-react-query
github-actions[bot] 67d9e69d72 ci: changeset release
History 2026-03-22 09:30:34 +00:00
..
.devcontainer docs: add devcontainer.json to all e2e/examples (#6972) 2026-03-18 15:43:14 +01:00
.vscode chore(examples): add .vscode/settings.json configuration (#3349) 2025-02-07 10:29:48 +13:00
src fix(examples): change opacity-1 to opacity-100 in spinner component (#6678) 2026-02-21 19:28:09 +01:00
.gitignore fix: do not recreate history on fast refresh 2023-12-04 09:24:15 -07:00
index.html chore(e2e,examples): tailwindcss v4 (#3235) 2025-01-26 17:50:21 +13:00
package.json ci: changeset release 2026-03-22 09:30:34 +00:00
README.md docs(examples): standardize the READMEs for the React examples (#6014) 2025-12-07 01:39:44 +13:00
tsconfig.json chore: add skipLibCheck to examples (#3134) 2025-01-09 20:53:15 +01:00
vite.config.js docs: move to tailwind 4 w/ vite (#6168) 2025-12-21 04:13:49 +01:00

TanStack Router - Kitchen Sink React Query Example

A comprehensive example combining TanStack Router with TanStack Query.

Start a new project based on this example

To start a new project based on this example, run:

npx gitpick TanStack/router/tree/main/examples/react/kitchen-sink-react-query kitchen-sink-react-query

Getting Started

Install dependencies:

pnpm install

Start the development server:

pnpm dev

Build

Build for production:

pnpm build

About This Example

This "kitchen sink" example demonstrates:

  • Advanced routing patterns with TanStack Router
  • TanStack Query integration
  • Complex data fetching scenarios
  • Cache management
  • Optimistic updates
  • Error handling
  • Loading states