TanStack Query: async-state cache kernel foundation
Foundation contract
This is a cold, source-specific foundation, not an operational procedure. It is historical, revision-pinned evidence rather than timeless guidance. Current project source, tests, requirements, and runtime behavior outrank this projection and decide what ships.
Provenance and revision
- Source record:
tanstack-query; portable upstream identity, license, coverage caveats, and retrieval history are preserved in the index. - Recorded revision:
main@bc423b37ef7fa2a34cfc7286945fd640d74b4071. - Full provenance, coverage caveats, boundaries, and preserved evidence:
references/index.md.
Topic map
- Representative topics: Fetch retry kernel; Fetch dedup ladder; Query reducer; Optimistic fetchState; Cache hashing; Key prefix matching; Structural sharing; Sharing policy gate.
- Scope and retrieval questions:
references/index.md#use-this-for. - Complete capsule chooser:
references/index.md#load-the-matching-source-dump. - Detailed grouped map:
references/index.md#capsule-map. - Source limitations and portability boundaries:
references/index.md#boundaries.
Retrieval
Open the index, choose one capsule matching the active question, and load only that capsule. Revalidate its cited source and revision before relying on it. Do not bulk-load the inventory, treat historical claims as current truth, or apply this foundation as a procedure.