Comments (3)
Hi @jhebb . Yes reset terminate executing request https://github.com/lexich/redux-api/blob/master/src/actionFn.js#L283
from redux-api.
@lexich Why is that an error? Shouldn't it just kill the request silently? Maybe I'm not understanding what the reset
action is supposed to do, but I'm expecting it to clear the state whether there's a call in flight or not.
from redux-api.
When you make request you get promise which returns promise. Promise can be resolved
or rejected
. Abort make promise rejected
because you by default you await receiving data when you have resolved
state.
from redux-api.
Related Issues (20)
- How can I use dispatch in responseHandler? HOT 4
- POST action replaces entire data array (until refresh) HOT 9
- Using redux-api with Next.js next-redux-wrapper for server-side rendering? HOT 14
- Track all ajax errors with redux-api HOT 1
- Multiple dispatch via async all not working? HOT 1
- What are the "@" symbols for each bullet point for in DOCS.md? HOT 1
- Is there a best practice for using this library to track the status of an XHR request? HOT 1
- IE9 returning 1223 for HTTP 204 no content HOT 1
- Why Request Method:OPTIONS is required? HOT 2
- Error: Windows Edge/Safari 7 doesn't make requests with `cache: true` HOT 3
- Why do HTTP status errors only return the code and error text? HOT 1
- File Upload HOT 3
- Add way to recognize error is abort from reset() HOT 1
- Error starting example HOT 1
- Configuring method on helpers HOT 3
- Can you pass body in a GET request? HOT 3
- How to access results from REST service? HOT 4
- apparent bug on mobile clients
- Security vulnerability in dependency
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redux-api.