11 lines
696 B
Markdown
11 lines
696 B
Markdown
# Data Fetching & API Clients
|
|
|
|
> Audit library doc. Findings come from reading source files — never from README/docs.
|
|
> Each pattern is one `### [slug] Title` entry (written via `audit.sh finding`), with an exemplar file.
|
|
> Further files that repeat a known pattern are logged with `audit.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).
|
|
|
|
## Findings
|