DEV Community

Discussion on: Redirecting to an external URL within React Router

Collapse
 
pvafc profile image
Prasanth Vaaheeswaran

Have you looked into the assign and replace methods on location? Wondering if those would also do the trick. developer.mozilla.org/en-US/docs/W...

Collapse
 
mxdavis profile image
Malki Davis

That will work too, still need the render with the func inside.