new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

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%

use this brain
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/tanstack-query-reference — …
Sign in — get this command with your token in it

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 it

Ask it things like

answers 22/24 on its latest exam · anti-bluff 1/6
What pattern does stable-query-client recommend for creating QueryClient instances?ESLint Rules
What does the prefer-query-options rule enforce?ESLint Rules
What callbacks are available on MutationCache and when are they called?QueryCache & MutationCache
What does QueryClient.prefetchQuery do and when would you use it?QueryClient Methods
How do you invalidate all queries for a specific queryKey pattern using QueryClient?QueryClient Methods
How do you update query data in the cache using QueryClient?QueryClient Methods
Which hooks are affected by the no-unstable-deps rule?ESLint Rules
What is the correct property order for useInfiniteQuery according to the ESLint rules?ESLint Rules

What it can answer

24 coverage checks
81%
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
exam badge — share this score →

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.