react-redux-fetch
react-redux-fetch copied to clipboard
Cancel request
I would like to be able to cancel a request. In my use-case calls can take a long time. If the user changes a filter or sorting in the UI while a call is still going it would be nice if it could be canceled. Currently the result is overwriten if the second call takes less time.
Would this be a huge change or rather small? If you point me in the right direction I can take a stab at it.
I've been thinking about this, but not sure how this can be implemented. What's your idea on the way you want to use that feature? For example, dispatch a cancel event? Currently, a specific request has no unique identifier, so there's no way to let react-redux-fetch know which request you want to cancel/ignore.