diff --git a/README.md b/README.md index e8c14d8421..61681a8dac 100644 --- a/README.md +++ b/README.md @@ -2349,7 +2349,7 @@ queryCache.clear() ## `useIsFetching` -`useIsFetching` is an optional hook that returns `true` if any query in your application is loading or fetching in the background (useful for app-wide loading indicators). +`useIsFetching` is an optional hook that returns the `number` of the quiries that your application is loading or fetching in the background (useful for app-wide loading indicators). ```js import { useIsFetching } from 'react-query' @@ -2359,8 +2359,8 @@ const isFetching = useIsFetching() ### Returns -- `isFetching: Boolean` - - Will be `true` if any query in your application is loading or fetching in the background. +- `isFetching: Int` + - Will be the `number` of the quiries that your application is currently loading or fetching in the background. ## `ReactQueryConfigProvider`