TanStack Query
Listed inTanStack QueryData Fetching and Cachingon
The documentation that reframed server state as a cache problem — keys, staleness, and background refetching.
Server state is not application state. It is a cache of someone else’s data, and it goes stale while you hold it.
7 articles
Listed inTanStack QueryData Fetching and Cachingon
The documentation that reframed server state as a cache problem — keys, staleness, and background refetching.
Listed inCache InvalidationData Fetching and Cachingon
Tags, keys, and mutation-driven refetching — the part that is genuinely as hard as the joke says.
Listed inPagination and Infinite ListsData Fetching and Cachingon
Offset versus cursor, and keeping a virtualised list accessible to a keyboard and a screen reader.
Listed inOptimistic UpdatesData Fetching and Cachingon
Applying a change before the server confirms it, and rolling back cleanly when it refuses.
Listed inSWRData Fetching and Cachingon
A smaller take on the same idea, with a hook-first API and very little configuration.
Listed inTanStack QueryData Fetching and Cachingon
Caching, deduplication, and background refetching — the stale-while-revalidate model most apps actually want.
Listed inFetching PatternsData Fetching and Cachingon
Waterfalls, parallel loads, and prefetching on intent — deciding where a request should start.