@stackflow/plugin-history-sync
Advanced tools
Comparing version 1.3.16 to 1.3.17
@@ -332,11 +332,13 @@ "use strict"; | ||
const lastStep = last(rootActivity.steps); | ||
replaceState({ | ||
history, | ||
pathname: template.fill(rootActivity.params), | ||
state: { | ||
activity: rootActivity, | ||
step: lastStep | ||
}, | ||
useHash: options.useHash | ||
}); | ||
requestHistoryTick( | ||
() => replaceState({ | ||
history, | ||
pathname: template.fill(rootActivity.params), | ||
state: { | ||
activity: rootActivity, | ||
step: lastStep | ||
}, | ||
useHash: options.useHash | ||
}) | ||
); | ||
const onPopState = (e) => { | ||
@@ -343,0 +345,0 @@ if (silentFlag) { |
{ | ||
"name": "@stackflow/plugin-history-sync", | ||
"version": "1.3.16", | ||
"version": "1.3.17", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
167211
3163