React Query
React Query (rebranded as TanStack Query) is a data-fetching and server-state management library for React that handles caching, background refetching, request deduplication, and stale-data invalidation for asynchronous data, removing the need to hand-roll this logic with useEffect and useState.
3 resources across 2 libraries
Glossary Terms(2)
React Query
React Query (rebranded as TanStack Query) is a data-fetching and server-state management library for React that handles caching, background refetching, request…
SWR (library)
SWR is a lightweight React hooks library for data fetching created by Vercel, named after the HTTP caching strategy 'stale-while-revalidate': it immediately re…