Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49308

Ionic v4 - ngOnInit and constructor cache problem after reload application in browser

$
0
0

@frontend-raiden wrote:

Hi!

I’m experiencing some problems. If I reload the app a certain way (3rd page) than I go back to the previous pages (2nd page than 1st) after this I go back the page where I reloaded the page (3rd page) the constructor and the ngOnlnit method won’t recall/rerun. But if I push f5 on a different page (2nd page) and I navigate to a different page (3rd page) than back to 2nd page, and than back to 3rd again, than the method is called correctly. What can be the problem? It feels like the it’s cacheing, but only when the application is reloaded in the browser.

Thanks for your help in advance.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49308

Trending Articles



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