Skip to main content

Is there a way to change the URL without reloading the page with lightning:navigation? The History API allows me to do so with history.pushState() but v.pageReference doesn't reflect the change.

 

We have component overrides for new, view, and edit on a record all pointing to the same component. Ideally we'd like to navigate from one action (new) to another (view) without our component reloading and losing state, like unsaved form data.

0/9000