Navigation and view lifecycle

Navigation inside Ionic has been a debatable topic from the start. For developers coming from Ionic 1 and having a habit of using a UI router for navigation,their first concern was how to traverse through the application and declare different routes. I would say if we think the other way around towards the native world, we don't have routes declared like Ionic 1. Ionic 3 works a bit differently here; rather than using URLs to navigate, we are using push and pop operations for navigation. Let's think of this as a stack where we push pages to move forward, and when we have to come back we pop that page. Initially when starting the application we declare the rootPage of the application, which is what you will see ...

Get Hybrid Mobile Development with Ionic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.