Open zhouzhongyuan opened 5 years ago
redux-saga
How to trigger off callback after updating state in Redux?
chain
How to chain synchronous actions? #1543
How to dispatch a Redux action with a timeout?
https://github.com/reduxjs/redux/blob/master/src/createStore.js
How to chain synchronous actions?
=== 结论:dispatch是同步的
redux-saga
How to trigger off callback after updating state in Redux?
chain
How to chain synchronous actions? #1543
How to dispatch a Redux action with a timeout?
https://github.com/reduxjs/redux/blob/master/src/createStore.js
How to chain synchronous actions?
=== 结论:dispatch是同步的![image](https://user-images.githubusercontent.com/717817/56088162-db1d6280-5ead-11e9-9178-d3fd578100aa.png)