zalmoxisus/redux-devtools-extension

Batch actions

Open

#128 opened on 2016年6月1日

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

説明

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.

コントリビューターガイド