Kamal Sahmoud
Aug 29, 2017 · 1 min read

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 ??

)

    Kamal Sahmoud

    Written by