You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have two requests, you need to wait for the first request is resolved for can start the second. It should cancel a pending request if you leave a page before the request has been completed. For example:
You're in the Product page, there's a pending request and you go to user page. Actually, if you leave the product page, the request is kept and the user request doesn't execute until that product request would be completed.
I think we can implement the Cancel feature to avoid this behavior. So, we could manage more efficiently the requests in our application.
Possible scenario:
When you have two requests, you need to wait for the first request is resolved for can start the second. It should cancel a pending request if you leave a page before the request has been completed. For example:
You're in the Product page, there's a pending request and you go to user page. Actually, if you leave the product page, the request is kept and the user request doesn't execute until that product request would be completed.
I think we can implement the Cancel feature to avoid this behavior. So, we could manage more efficiently the requests in our application.
LOL
FYI: Axios' cancellation
The text was updated successfully, but these errors were encountered: