mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
|
History
|
||
|---|---|---|
| .. | ||
| .vscode | ||
| src | ||
| .gitignore | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.js | ||
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