-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
Description
Is there currently a way to dispatch multiple actions atomically (is that the right term?). I suppose I mean two or more actions sent in succession which only triggers one component update (but of course multiple mutations to the store).
Normally it looks like middleware would be the place for this to happen, but I don't see how the middleware chain can handle more than one action passing through.
I know I can just call multiple dispatches in succession, but I'm not sure of the race condition implications of this - but I do it anyway :)
Thanks!
AJamesPhillips, ankitrg, janpauldahlke, pavel06081991, kosiakMD and 16 more