How do I navigate to a different view/section with...
# package-development
w
How do I navigate to a different view/section/url ?
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 ?!
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');
2 Views