Replace
methodsNavigates to the given route, replacing the current view in the history stack (like window.history.replaceState or location.replace work).
Parameters:routeString
The route to navigate to.
Navigates to the given route, replacing the current view in the history stack (like window.history.replaceState or location.replace work).
The route to navigate to.