clear stored cache on COMMIT

This commit is contained in:
Amir Lazarovich 2016-05-03 20:50:15 -04:00
parent a21905cbde
commit 67d29576ef

View File

@ -217,6 +217,7 @@ function liftReducerWith(reducer, initialCommittedState, monitorReducer, options
// Consider the last committed state the new starting point.
// Squash any staged actions into a single committed state.
actionsById = { 0: liftAction(INIT_ACTION) };
initialLiftedState.actionsById = actionsById;
nextActionId = 1;
stagedActionIds = [0];
skippedActionIds = [];