createQueries, check when all the queries loaded
Is there a way to check if all queries loaded without looping them all and check
isLoading
, when using createQueries
?2 Replies
conscious-sapphire•3y ago
useIsFetching | TanStack Query Docs
useIsFetching is an optional hook that returns the number of the queries that your application is loading or fetching in the background (useful for app-wide loading indicators).
`tsx
rare-sapphireOP•3y ago
I Will give it a look, thanks