Answers for "redirect to another site 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

redirect to another path react

<span className="input-group-btn">
  <Link to="/login" />Click to login</Link>
</span>
Posted by: Guest on May-11-2021

Code answers related to "redirect to another site in react"

Code answers related to "Javascript"

Browse Popular Code Answers by Language