jlooper / nativescript-snacks

🍕 Short snippets and videos to help users learn NativeScript
http://www.nativescriptsnacks.com
24 stars 8 forks source link

Complex Navigation - Navigation Best Practices #37

Open bzaruk opened 7 years ago

bzaruk commented 7 years ago

Hey,

I am trying to navigate correcly im my app, but for me there is a lot of things that is hard to understand what is the right way to do that.

for example route from page1 to page2, and then from page2 to page3 and then from page3 to page4 and then from page4 to page2 but make sure that page3 and page4 will be removed from the history.

again this is the scenario: page1 -> page2 page2 -> page3 page3 -> page4 page4 -> page2

and in the end of this scenario that history will be page1/page2

What I am asking is what is the right way to do that? with or ? with childern? with Angular Route or with RouterExtension?

If there is a good tutorial that you familiar with I would be happy to get it. :)

Thank you very much, Bar.