Can I dispatch multiple actions without Redux Thunk middleware?

后端 未结 3 655
滥情空心
滥情空心 2020-12-08 02:59

I read that Redux Thunk is the reliable way to manage asynchronous actions/request. There\'s nothing much about dispatching actions by other actions.

How about dispa

3条回答
  •  臣服心动
    2020-12-08 03:42

    If this makes it through, then yes, using:

    store.dispatch(action1, action2)
    

    Maybe +1 at github?

提交回复
热议问题