T
TanStack4y ago
manual-pink

Is there a property to check if React Query is currently fetching something?

hey is there a property for something like "is there is anything fetching right now?", I mean something like isLoading but not specific to any single query, but to all queries. basically "is react-query doing something right now?" I need this to show a spinner while all of the queries are fetching, and when they're all done then show the page's content. To do this, I need something to be able to tell if React Query has finished all of its fetching.
2 Replies
manual-pink
manual-pinkOP4y ago
thank you so much!

Did you find this page helpful?