Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70442

Ionic 4 Route Guard issue on browser back Button

$
0
0

@abizit wrote:

I am developing a new app on Ionic 5 which i intend to make it to a hybrid app. And i’m fairly new to Ionic but have been working in Angular for quite some time.

So the problem i am having is when i login and it goes to a dashboard then logout and when i click on the browser back button it still loads the dashboard. I checked in dev tool and apparently it still hold the previous component in the DOM. Unlike in angular which destroys the Previous DOM. I consoled the route Guard and it seems that it does not hit the route guard when i do the browser back button
So this i causing a weird problem.

I hope i am clear about my problem.

Thanks in advance

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70442

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>