Open
Description
When we are using the useCubeQuery hook to get the data from cube server & user has routed to some other routes, while the result is being fetched. Then it should cancel out the request , as component from which the request was raised has already unmounted
To Reproduce
Steps to reproduce the behavior:
- create a dashboard with multiple reports on it
- redirect to another route as soon as you have landed on dashboard
- In network tab of developer tool, you will see that the requests of reports on dashboard are still active, which is of no use now, as the dashboard component has already unmounted
Expected behavior
Requests for reports data should have be cancelled out