Skip to content

Add Cancel request feature #16

@manuelitox

Description

@manuelitox

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.

123
LOL

FYI: Axios' cancellation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions