setUpLocationSync
function
stable
Sets up a location change listener to trigger history.pushState.
Works around the problem that onPopState does not trigger history.pushState.
Must be called after calling UpgradeModule.bootstrap.
setUpLocationSync
voidSets up a location change listener to trigger history.pushState.
Works around the problem that onPopState does not trigger history.pushState.
Must be called after calling UpgradeModule.bootstrap.
@paramurlType
"path" | "hash"The location strategy.
@returns
voidJump to details