Open solkaz opened 7 years ago
See here for why this is a better idea
The TL;DR though is that every time we dispatch an action, we need to recalculate the new props and possibly re-render components. Instead, we can batch actions into a single dispatch, cutting down on the number of re-renders necessary
See here for why this is a better idea
The TL;DR though is that every time we dispatch an action, we need to recalculate the new props and possibly re-render components. Instead, we can batch actions into a single dispatch, cutting down on the number of re-renders necessary