How is a tab in my Ionic app different from a page? Why does the page reload (init) on every visit but a tab stays rendered (does not run onInit)? I’m missing some basic concept here.
All the topics I’ve seen about this lifecycle issue center around trying to run OnInit after re-entry. I want the opposite. I have pages that I want to persist after navigating away from them.
/ tab / home
<- init once
/ tab / browse
<- init once
/ tab / browse / subbrowse
<- init on each view
I want the sub browse page to behave like top level tab pages.
2 posts - 2 participants