diff --git a/modules/store-devtools/src/reducer.ts b/modules/store-devtools/src/reducer.ts index ee57707199..50a7f3b7d1 100644 --- a/modules/store-devtools/src/reducer.ts +++ b/modules/store-devtools/src/reducer.ts @@ -413,6 +413,12 @@ export function liftReducerWith( options.stateSanitizer ); + // Recompute state history with latest reducer and update action + computedStates = computedStates.map(cmp => ({ + ...cmp, + state: reducer(cmp.state, liftedAction), + })); + currentStateIndex = minInvalidatedStateIndex; if (options.maxAge && stagedActionIds.length > options.maxAge) {