Notification for slow queries and retries
Is there a smart and stable way to globally show a notification/toast while there are slow queries taking place or failing queries are retrying?
We're using
react-toastify, and actually showing and hiding a toast is not an issue, but very unsure where would be the best to hook into react-query so that the notification shows and hides properly (with no duplicates if there are multiple slow/retrying queries happening at the same time).0 Replies