I have a React app that makes heavy use of Apollo-Client and I’m wondering if there is a way to globally detect if Apollo is loading.
I have loading indicators for most of the site e.g. loading pages, spinners on buttons etc… but I want to setup something that will popup in the corner every time a query or mutation is running, even on refetch.
Is this possible? I’ve had a look at the docs and can’t find anything on the client that suggests there is a global query status like this.