A Simple React Router v4 Tutorial
Paul Sherman
8.4K51

Thank you for this tuto, but how keep stay in current page when reload page.

create-react-app :

<Route exact path=”/” component={Home}/>
<Route path=”/contact” component={Contact}/>

if current page is “/contact” and then if i reload page i redirect to home page “/”.

any idea ??

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.