I am migrating to Ionic4 and I have a question about the way of navigating between pages.
I am using NavController with goRoot, goForward and goBack.
Now I want to be able to set a stack of opened pages when I select a new route from a Menu. I don´t know how to use something similar to the setPages method that I was using with Ionic 3.
I need to set a new Root page and a children.
I have tried this but is not working: