Articles for people who
ship the stack
Rewrites on React, Node.js, TypeScript and AI. A translated body is shown when it exists. If it does not, you see the English text and a note that says so.
Tagged: react-query
TanStack Query Basics: Queries, Caching, Mutations and Invalidation
Learn how useQuery, queryKey, staleTime, gcTime, useMutation and invalidation fit together to manage server state in React without hand-written fetch effects.
7 min readTanStack Query detailed guide: queries, cache, mutations, and optimistic UI
TanStack Query manages server state like a restaurant manager: shared cache keys, freshness dials, coordinated mutations, invalidation, and optimistic updates on top of your HTTP client.
22 min readKeep React Query lists fresh with refetchOnMount after navigation
Learn why TanStack Query serves stale list rows after edits, when invalidateQueries is not enough, and how refetchOnMount revalidates on every remount.
5 min read
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.