You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the hash mode is based of the html5 history because:
more consistent across browsers compared to onhashchange
all supported browsers support it
Allows storing a state to guess the navigation direction and correctly cancel in when a navigation guard does next(false) and the user clicked the back/forward button. Note in vue router v3 it just pushes a new entry, erasing the history
This creates an empty navigation without that information when
from #345
Currently, the hash mode is based of the html5 history because:
onhashchange
next(false)
and the user clicked the back/forward button. Note in vue router v3 it just pushes a new entry, erasing the historyThis creates an empty navigation without that information when
I think we could change the line at https://github.com/vuejs/vue-router-next/blob/master/src/history/html5.ts#L75 to trigger a regular navigation as if the user called
router.push
. We should check if this doesn't break any behavior and add testsThe text was updated successfully, but these errors were encountered: