// Changes the address bar without navigating. Pages are interactive one by one, so // NavigationManager.NavigateTo runs an enhanced navigation (the page is rendered again on the // server and merged into the DOM), which the JSON editor can't survive. /** Replaces the current history entry's URL, keeping Blazor's history state. */ export function replace(url) { history.replaceState(history.state, '', url); }