FrontendAround since 2019
TanStack Query
Also written as React Query, SWR
A library that handles fetching, caching, background refreshing and retrying of server data — replacing a large amount of hand-written loading and error state.
Think of it like
A fridge that quietly restocks itself and tells you when something's gone off, instead of you checking every shelf.
Junior or senior?
Junior sounds like
Uses it to fetch.
Senior sounds like
Talks about cache invalidation and stale-while-revalidate — the reason to use it at all.
Ask them
“How did you decide when cached data was stale enough to refetch?”