I have a project built with ionic-react CLI. There's feature of ionic-react, and it's implementation of react-router, is that page-components stay mounted and get hidden when you change routes. Which is proving problematic for me sometimes.
So, how can I manually force a component to unmount? There may be a react way to do it, and maybe an ionic-react way I don't know about. Anyone know how I could handle this.