React + Redux, How to render not after each dispatch, but after several?

后端 未结 6 874
独厮守ぢ
独厮守ぢ 2020-12-31 05:28

I am trying to make multiple changes to the store, but not render till all changes are done. I wanted to do this with redux-thunk.

Here is my action creator:

6条回答
  •  爱一瞬间的悲伤
    2020-12-31 06:10

    redux-batched-actions Batching action creator and associated higher order reducer for redux that enables batching subscriber notifications for an array of actions.

提交回复
热议问题