I have a React Application that is structured in the following way:
I have multiple pages - "PageA", "PageB". Each of these pages will render a main component - "PageAComponent", "PageBComponent". Within these main components, I have multiple small componennts that will trigger async operations using Redux Saga. Each of these components will store data into Redux-Store (or state). I want to be able to show a Loading Spinner over the entire page but I`m not sure how to detect when all the small components async calls are completed in order to know when to hide the loading spinner. Any ideas guys?