Closed ghost closed 7 years ago
The function for navigating, navigate!, adds a new entry to the history and changes the URL. Would it make sense to have an alternative that doesn't add an entry to the history? Kind of how pushState and replaceState work in the History API.
navigate!
pushState
replaceState
:+1: PR is welcome ;)
It just can be a new function or an additional parameter to navigate!, I don't know that is the better solution
The function for navigating,
navigate!
, adds a new entry to the history and changes the URL. Would it make sense to have an alternative that doesn't add an entry to the history? Kind of howpushState
andreplaceState
work in the History API.