I have a footer with an home link, if i click it couple of times its loading couple of home pages, when i click backbutton it goes trough all the home pages loaded before coming back again… i know i can make an if check to check if current page is loaded then not load it… But how to get what current page is and any example of how i can make the if check?
I have one rootpage which is the welcome page where login is, when logged inn user get to homepage which is a lazy loaded page, when click on “profile” page its lazy loading that too… But i want to avoid if i click “ProfilePage” couple of times its load it couple of times… i have tried to use this method: this.navController.getActive().name , but it always show me that this is HomePage,
Then I guess somebody else is going to have to help you on this journey, because I think the way you are insisting on framing it will only end in frustration for you.