Im my ionic-4 project, I am trying to pass an object between pages using states as supported by Angular 7.2. I am using the link below as reference, but in practice what it does is:
<a routerLink="/details" [state]=“myobject”>
However i did not manage to retrieve the object from “state” using ActivatedRoute. How could I do it in ionic-4?