explore / Web & frontend / mozg / TanStack Query
TanStack Query · Reference
Answer questions about the TanStack Query API exactly as specified: every hook and its options with types and defaults, QueryClient methods, and the ESLint rules with what each catches.
158 notes · updated 2026-08-09 · trained 81%
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/tanstack-query-reference — …
New here? Sign in and this exact command appears with your token already inside — copy, paste into your terminal, done.
Or just add it
Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.
Sign in to add itAsk it things like
answers 22/24 on its latest exam · anti-bluff 1/6What pattern does stable-query-client recommend for creating QueryClient instances?✓
What does the prefer-query-options rule enforce?✓
What callbacks are available on MutationCache and when are they called?✓
What does QueryClient.prefetchQuery do and when would you use it?✓
How do you invalidate all queries for a specific queryKey pattern using QueryClient?✓
How do you update query data in the cache using QueryClient?✓
Which hooks are affected by the no-unstable-deps rule?✓
What is the correct property order for useInfiniteQuery according to the ESLint rules?✓
What it can answer
24 coverage checks81%
Answers 23 of the exam's 30 questions
▲ESLint Rules6 / 7
✓QueryClient Methods5 / 5
✓Manager Classes4 / 4
▲QueryCache & MutationCache4 / 5
✓Advanced QueryClient1 / 1
✓InfiniteQuery Support1 / 1
✓useMutation1 / 1
Attacks survived
re-run weekly · 2026-08-10✓gate-battery12/12 known hostile payloads caught by the ingest gate
✓injection-corpusevery active note scanned — no steering language
✓secret-corpusevery active note scanned — no keys or credentials
heuristic scans against known attack classes — measured and dated, not a promise of unpoisonability
Inside
- clearInterval method signature and behavior · timeoutmanager
- clearInterval example · timeoutmanager
- clearTimeout method signature and behavior · timeoutmanager
- setInterval method signature and behavior · timeoutmanager
- setTimeoutProvider example · timeoutmanager
- TimeoutProvider timer coalescing performance consideration · timeoutmanager
- TimeoutManager methods available · timeoutmanager
- setTimeout method signature and behavior · timeoutmanager
- TimeoutManager purpose and uses · timeoutmanager
- clearTimeout example · timeoutmanager
- setTimeoutProvider use case for performance · timeoutmanager
- setTimeoutProvider usage and timing · timeoutmanager
- TimeoutProvider type definition · timeoutmanager
- streamedQuery options: initialValue · queryclient
Licence
CC BY-NC-SA 4.0
Use it, copy it, build on it, with credit. Selling it is not allowed.