I am using a multiple step form, this one: https://material-ui.com/getting-started/templates/checkout/
It works perfectly. But i need to update the url when I change the step.
My first thought was to use a redirect, but it seems very complicated.
if (newCheckout) return <Redirect to={`checkout/${newCheckout}`} />;
Is there any way to achieve that without redirecting?.
I dont want to lose the data from my component. Just update the route.. .