mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Merge 29a90a4770
into a8e06e9975
This commit is contained in:
commit
9104bd3990
|
@ -61,6 +61,8 @@ function recomputeStates(reducer, committedState, stagedActions, skippedActions)
|
||||||
for (let i = 0; i < stagedActions.length; i++) {
|
for (let i = 0; i < stagedActions.length; i++) {
|
||||||
const action = stagedActions[i];
|
const action = stagedActions[i];
|
||||||
|
|
||||||
|
if (i !== stagedActions.length - 1) action._recomputed = true;
|
||||||
|
|
||||||
const previousEntry = computedStates[i - 1];
|
const previousEntry = computedStates[i - 1];
|
||||||
const previousState = previousEntry ? previousEntry.state : committedState;
|
const previousState = previousEntry ? previousEntry.state : committedState;
|
||||||
const previousError = previousEntry ? previousEntry.error : undefined;
|
const previousError = previousEntry ? previousEntry.error : undefined;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user