title: React/Redux - Dispatching the same action multiple times
body: <p>In my react application, I have a special case of action dispatching, where I am mapping over an array, and then for each item I will dispatch an action - same action for all items. </p>
  
  <p>Is there a way for me to set the state in my reducer only when the last action is dispatched? </p>
  
  <p>E.g.: I want a loading state to be false when all actions are done being dispatched. But at the moment the state will be set on the first dispatched action, and the application therefore thinks, that we are done loading.</p>
  
  <p>Can anyone help me out?</p>
  
  <p>TIA. </p>