cantierecreativo / redux-bees

A nice, short and declarative way to interact with JSON APIs
592 stars 41 forks source link

Fix dispatching pending action #52

Closed zofiag closed 6 years ago

zofiag commented 6 years ago

Fix calling dispatch of the action, that has pending status.

Save actions instead of simple promises in pendingPromises collection. That change removes unnecessary dispatch of api/undefined actions, which causes saving undefined results in the store.