zalmoxisus/redux-devtools-extension

Batch actions

Open

#128 opened on Jun 1, 2016

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (13,478 stars) (1,074 forks)batch import
enhancementhelp wanted

Description

Since each dispatched actions trigger an immediate render, a common pattern is batched actions. However, using them makes it quite harder to inspect what each action does (since you can only cancel batched actions, and not the individual actions that they compose).

It would be great if the extension was able to see that an action is a batched action (for example by checking its type against a specified property name), extract the actions inside (again by reading a configured property), and recreate this batched action without the canceled sub-actions.

Contributor guide