September 2018
Beginner
156 pages
3h 28m
English
The <Redirect> component redirects the user to the given path by calling history.replace(<path>), that is, replacing the current entry in the history stack with the new path. By specifying the push prop in the <Redirect> component, history.push is called instead of history.replace:
<Redirect to="/dashboard" push />
Read now
Unlock full access