We all need to pass data around in our Ionic app, and over time I’ve seen countless problems developers encounter with the Angular router.
In this Quick Win we will go through a bunch of scenarios and examples of how you pass data to different pages:
- How to use query params
- How to use the Angular router state
- How to use route parameter
- Working with resolver
- Handling back navigation
After going through these examples you should have a decent understanding of how the Angular router works and how you can pass information from one page to the next!
The full quick win with snippets is only available to Ionic Academy members.
Join now for
- Unlimited access to all quick wins
- Library of 40+ step-by-step video courses
- Support for Ionic questions via Slack & private community
Current member? LOGIN