isLoading vs isFetching vs isRefetching!

Caner Kuru
3 min readDec 19, 2022

ReactQuery, also known as TanStack Query, is a library that provides a simple, yet powerful way to fetch, cache, and manage data in your React applications. It is designed to work seamlessly with the React ecosystem.

This library’s got a ton of cool hooks for working with APIs. I’ve been mostly messing around with useQuery, useMutation, and useInfiniteQuery. Each one returns an object packed…

--

--

Caner Kuru

React.js & React Native Guru | TanStack/React Query Lover | Software Engineer | Gamer