Open History to see the last commit
1# TanStack Start - Basic React Query Example
2β
3A TanStack Start example demonstrating integration with TanStack Query (React 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/start-basic-react-query start-basic-react-query
14```
15β
16## Getting Started
17β
18From your terminal:
19β
20```sh
21pnpm install
22pnpm dev
23```
24β
25This starts your app in development mode, rebuilding assets on file changes.
26β
27## Build
28β
29To build the app for production:
30β
31```sh
32pnpm build
33```
34β
35## TanStack Query Integration
36β
37This example demonstrates how to use TanStack Query with TanStack Start for:
38β
39- Server-side data fetching
40- Client-side caching and synchronization
41- Optimistic updates
42- Automatic refetching