Using Angular ActivatedRoute to Send Objects and Arrays in Ionic
Published in
2 min readFeb 3, 2020
Like you, I am sometimes nostalgic on ye olde Ionic 2/3 where it was very easy to send objects and arrays between pages using a magical invention called NavParams
.
This has been (controversially, in my opinion) deprecated in Ionic 4+ in favor of Angular Routers. With Angular Routers, it is still possible to carry simple variables (such as string…