Navigation and async cache
Router coordinates navigation while Query owns caching and refetch lifecycles.
The shared concepts sit in the middle. The left teaches them to a beginner; the right compresses them into engineering contracts an agent can retrieve.
Router coordinates navigation while Query owns caching and refetch lifecycles.
Validate the write boundary, then update or invalidate cache from the server response.
Define independently when data becomes stale and how long inactive queries remain cached.
Propagate Query AbortSignal to the network layer to stop obsolete I/O and preserve cache semantics.
Let server cursors drive page params while preserving pages, pageParams, and memory bounds.
Isolate QueryClient per server request and choose blocking, hydration, or streaming for critical data.
Use cancellation, snapshots, immutable writes, and revalidation so immediate feedback converges on server truth.