Hi , i have a component where it lists items and can lead to other pages by clicking on the items
I want to reset the list to start from top (OR pop the page and reset the list) whenever the user leaves the component (e.g when changing to different menu item)
i know that i have to use one the lifecycle hooks , maybe ionViewDidLeave()
and reset there… but i dont know what commands should write for that ?