Mutation status polling
Consider the following scenario. User clicks a button (mutation) and this kicks off a job in the background. I then need to poll a status endpoint for a success response. Technically the mutation isn’t done until I receive the response or an error.
What is the recommended approach to handle this situation in react-query?
What is the recommended approach to handle this situation in react-query?