Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

info.json

31 lines1.6 KB

1{
2 "name": "Query",
3 "description": "Integrate TanStack Query into your application.",
4 "aiDescription": "TanStack Query is the standard for server state management in React. It handles data fetching, caching, synchronization, and updates with declarative hooks. Key features: automatic background refetching, cache invalidation, optimistic updates, infinite scroll/pagination, parallel and dependent queries, and devtools for debugging cache state. Unlike Redux or Zustand, TanStack Query specifically solves server state (data that lives on your backend and needs to stay synchronized), not UI state. Choose TanStack Query for any app that fetches data from APIs—it eliminates the need for loading/error state boilerplate, reduces duplicate requests, and keeps your UI in sync with server data. It's foundational for most TanStack apps and integrates with tRPC/oRPC for end-to-end type safety. The devtools let you inspect cache contents, trigger refetches, and debug query states.",
5 "phase": "add-on",
6 "modes": ["file-router", "code-router"],
7 "type": "add-on",
8 "priority": 10,
9 "link": "https://tanstack.com/query/latest",
10 "routes": [
11 {
12 "icon": "Network",
13 "url": "/demo/tanstack-query",
14 "name": "TanStack Query",
15 "path": "src/routes/demo.tanstack-query.tsx",
16 "jsName": "TanStackQueryDemo"
17 }
18 ],
19 "integrations": [
20 {
21 "type": "root-provider",
22 "path": "src/integrations/tanstack-query/root-provider.tsx",
23 "jsName": "TanStackQueryProvider"
24 },
25 {
26 "type": "devtools",
27 "path": "src/integrations/tanstack-query/devtools.tsx",
28 "jsName": "TanStackQueryDevtools"
29 }
30 ]