Answers for "redirect react to another site"

-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 react to another site"

Code answers related to "Javascript"

Browse Popular Code Answers by Language