Open History to see the last commit
1# TanStack Router - React Query Example
2β
3An example demonstrating integration between TanStack Router and TanStack Query.
4β
5- [TanStack Router Docs](https://tanstack.com/router)
6- [TanStack Query Docs](https://tanstack.com/query)
7β
8## Start a new project based on this example
9β
10To start a new project based on this example, run:
11β
12```sh
13npx gitpick TanStack/router/tree/main/examples/react/basic-react-query basic-react-query
14```
15β
16## Getting Started
17β
18Install dependencies:
19β
20```sh
21pnpm install
22```
23β
24Start the development server:
25β
26```sh
27pnpm dev
28```
29β
30## Build
31β
32Build for production:
33β
34```sh
35pnpm build
36```
37β
38## About This Example
39β
40This example demonstrates:
41β
42- Integrating TanStack Query with TanStack Router
43- Data fetching with queries
44- Route-level data loading
45- Cache management
46- Prefetching data on route navigation