Router.Modify

Hello, i’m trying to figure how the Router.modify method works. In the example below, i’m trying to remove oneView from the route stack once i navigate away for it. How can i achieve this.

<App Background="#634469">
<Router ux:Name="router"/>
	<Navigator DefaultPath="one">
		<oneView ux:Template="one" router="router"/>
		<twoView ux:Template="two" router="router"/>
		<threeView ux:Template="three" router="router"/>
	</Navigator>
</App>

Hi,

the docs you linked show an example that uses the .modify() call in JavaScript. I fail to see where in your snippet you do that.

remove X from the route stack once i navigate away for it can generally be achieved with a Goto operation, and the example on the link you pasted shows exactly that.