title: How to prevent user from going back in react-router-dom?
body: <p>I'm using react-router-dom for routing in my reactjs app. And i want to prevent user from going back after login i.e i don't want to user go back again on login screen when he hit back button on browser after login.</p>