I am new to react-router-dom and web development. I am creating a PWA on mobile browser, I could not find a way to navigate the user to exit the app like in native mobile app
what happened was the page was navigating over and over again until it hits the last stack of the history then it will close the app
I know how to listen to route changes, how do I force user to exit the app if they're in a specific route without going back to previous history