Hi everyone,
as far as I can tell, the IonRouterOutlet
keeps pages “in the background” when I navigate to another one. I can see them in the DOM having the classes can-go-back ion-page-hidden
. I understand that this makes sense so one can have nice transitions when going back.
However, our DOM is getting pretty bloated since we’re building a large enterprise app with many (100s) of routes. Is there a way to limit the number of pages the IonRouterOutlet
keeps around? For example, the last 5?
Cheers!