696 B
696 B
Data Fetching & API Clients
Audit library doc. Findings come from reading source files — never from README/docs. Each pattern is one
### [slug] Titleentry (written viaaudit.sh finding), with an exemplar file. Further files that repeat a known pattern are logged withaudit.sh also, not re-described.
Scope: How the frontend gets and mutates data.
Look for: TanStack Query/SWR/Apollo/tRPC/plain fetch; API client wrappers, base URLs, interceptors, auth headers; request/response typing and runtime validation (Zod); caching, invalidation, optimistic updates; pagination/infinite scroll; error and retry handling; server actions; realtime (WebSocket/SSE).