Is there a way to pop multiple pages? The methods I found online doesn’t work with React. http://codepen.io/onsen/pen/Exqze
I also tried resetPage, it sort of works. Here’s what I did:
navigator.resetPage(pageA2); //A2 is component A with a different key.
There are two major constraints with this method:
- the reseted page requires a unique key.
- onShow on pageA1 will be called (which I don’t really understand why). I ended up having onInit of A2 and onShow of A1 being called at the same time.
What I really want to is to pop back to A1. I am surprised that there is no easy way to deal with this use case.
Thanks for helping out!