diff --git a/src/index.js b/src/index.js index 0b33e7b..f4240a2 100644 --- a/src/index.js +++ b/src/index.js @@ -114,7 +114,7 @@ function syncReduxAndRouter(history, store, selectRouterState = SELECT_STATE) { // Only trigger history update is this is a new change or the location // has changed. - if(lastRoute !== undefined && + if(lastRoute === undefined || lastRoute.changeId === routing.changeId && locationsAreEqual(lastRoute, routing)) { return;