I'm trying to do exactly this but with Reach Router instead of React Router:
Asked
Active
Viewed 1,495 times
0
-
Do the things with the simplest way as possible, Link component is just a `` tag (html link) with more stuffs. – tolotra Nov 05 '19 at 12:00
1 Answers
2
As suggested by @Sagiv b.g on this answer here:
react-router meant to "route" in a Single Page Applications. when you want to route to an external page that's not routing on a single page.
You should use window.location
, or plain old HTML <a href="url" ...
![](../../users/profiles/7252233.webp)
sebamed
- 847
- 1
- 8
- 15