title: Using BrowserRouter, how can I clear history on logout
body: <p>Right now I am always using history.replace which never pushes anything on the history stack. I am doing this because if I push and then log out, my app allows using the browser back arrow to go back to the previous route and I don't want that. How can I manipulate the history so that when logout is pressed, I a have nothing on the history stack to go back to. </p>