I have an app which has three steps. You can navigate through each step from within the step components. There's also a back button which allows you to go back to the previous step. Currently when you click on a step it updates the url with the step path. I need the URL to NOT update. I can get this to work if I use MemoryRouter instead of Router but this stops the back button from working.
Is there another way to do this?
Here's my sandbox https://codesandbox.io/s/pm1olx2ml7