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
For async action, rejected promise then wrap to FSA: {error: true, payload: [Error Object]}, always we should {return state}.
FSA says if the status is error, the payload SHOULD be an error object, i can't understand why handleAction/handleActions: If a single reducer is passed, it is used to handle both normal actions and failed actions.
The text was updated successfully, but these errors were encountered:
ustccjw
changed the title
should set a default throw function
handleAction/handleActions: should set a default throw function
Jul 6, 2015
For async action, rejected promise then wrap to FSA:
{error: true, payload: [Error Object]}
, always we should{return state}
.FSA says
if the status is error, the payload SHOULD be an error object
, i can't understand why handleAction/handleActions:If a single reducer is passed, it is used to handle both normal actions and failed actions
.The text was updated successfully, but these errors were encountered: