Prequisites
Ionic Framework Version
Current Behavior
I have IonMenu with a list of routes.
When I push a page(Orders) for the first time all is well.

and again when I push to a new page for the second time it renders the new page(Products) and the old page(Orders).

It affects my methods that I created for both pages. It calls all the created methods from both page.

Here's some video that I recorded
https://user-images.githubusercontent.com/41864097/132933264-769c352c-49ba-4174-9d0c-44719469d752.mp4
Expected Behavior
Old page must not be rendered again when you push to a new page
Steps to Reproduce
Just navigate from menu and check the console which I console log only text for testing.
Code Reproduction URL
https://github.com/kabzko/testroute
Ionic Info
Ionic:
Ionic CLI : 6.17.1
Utility:
cordova-res : 0.15.3
native-run : not installed globally
System:
NodeJS : v14.17.0
npm : 6.14.13
OS : Windows 10
Additional Information
No response
Prequisites
Ionic Framework Version
Current Behavior
I have IonMenu with a list of routes.
When I push a page(Orders) for the first time all is well.



and again when I push to a new page for the second time it renders the new page(Products) and the old page(Orders).
It affects my methods that I created for both pages. It calls all the created methods from both page.
Here's some video that I recorded
https://user-images.githubusercontent.com/41864097/132933264-769c352c-49ba-4174-9d0c-44719469d752.mp4
Expected Behavior
Old page must not be rendered again when you push to a new page
Steps to Reproduce
Just navigate from menu and check the console which I console log only text for testing.
Code Reproduction URL
https://github.com/kabzko/testroute
Ionic Info
Ionic:
Ionic CLI : 6.17.1
Utility:
cordova-res : 0.15.3
native-run : not installed globally
System:
NodeJS : v14.17.0
npm : 6.14.13
OS : Windows 10
Additional Information
No response