#query
3 discoveries · Hand-picked discoveries from the open web, newest first.
-
React Query + Axios for authentication
React Query is a great library. It provides an API similar to the Apollo GraphQL client, but in a backend-agnostic design. This post looks into hooking up the Axios HTTP library to authenticate API calls.
Cretezy — Technology & Programming · EN
-
Using React Query for Server State
How to fetch, cache, update, and invalidate API data with TanStack Query without rebuilding server-state management in every React component.
Andrew Gilliland · EN
-
Practical React Query Patterns for Real Applications
How to use prefetching, dependent queries, parallel requests, and targeted invalidation to solve common data-fetching problems.
Andrew Gilliland · EN