Answers for "best way to redirect in react"

-1

how to redirect to a website in react

window.location.href = 'http://domain.com';
Posted by: Guest on February-22-2021
0

React redirect

<Redirect to="/somewhere/else" />
Posted by: Guest on December-13-2021

Code answers related to "best way to redirect in react"

Code answers related to "Javascript"

Browse Popular Code Answers by Language