How do I navigate to a different view/section/url ?
Warren Buckley
08/01/2024, 5:12 PM
I am currently using
window.location.assign('/umbraco');
Which works but the entire page/backoffice kinda loads & flashes all the UI again.
Wondered if there was a nicer way to navigate around without the flash/load ?!
Warren Buckley
08/02/2024, 9:10 AM
OK history.pushstate was the answer for me. Again is it the right way?! No idea...
Copy code
ts
// Navigate to the root of /umbraco/section/content
history.pushState(null, '', '/umbraco/section/content');