Open luqingxuan opened 6 years ago
i notice that, redux-promise source code:
if(isPromise(action))
if(isPromise(action.payload))
but, i notice redux-promise-middleware add another if
if(isPromise(action.payload.promise))
so i think can redux-promise add it, and then i can use the same logic, when i use both middleware?
i notice that, redux-promise source code:
if(isPromise(action))
if(isPromise(action.payload))
but, i notice redux-promise-middleware add another if
if(isPromise(action.payload.promise))
so i think can redux-promise add it, and then i can use the same logic, when i use both middleware?