You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now there is no simple way to add multiple items at once to a map. We have to dispatch an add action for each element when we want to add a list of items.
It would be nice to have a addAllActionTypes option that would iterate on the action's payload and add all items. This could also need a collectionGetter option.
For lists, since you're using Array.prototype.concat, the add actions work for adding both single and multiple items.