Global loading spinners/hooks

I’d like to implement a global loading spinner (the Mui Linear Progress component). When ever something is loading, it should ‘spin’.

Is there a recommended way of listening to the loading states of all current cells? Are there any hooks I can use?

I’m using Redwood 7.7.3

Thanks

I would try to see if the apollo client (useApolloClient) has some functionality to track if queries are active. Since this is the underlying lib to query data. Though that might change with React Server Components…