In the Ionic 4, Ionic has removed the NavController and NavParams. So we can’t directly pass the JSON object between 2 pages.
So what can be the best way to send JSON object between 2 pages.
- One option is using services, but for every page, we need to create a custom set and get method for data passing.
So what is the best way to pass dynamic JSON object between different pages in Ionic 4 with the help of angular routing?