Cannot have multiple routes with the same component #10609
Replies: 2 comments
-
You should give a minimal reproducible example |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry for the issue it's not even a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I've been trying to implement multiple routes with the same component using react router v6 but I cannot make it works !
My
<Layout />
component looks like this :When navigating to any of this page (cgu, privacy or faq), the first time everything works fine but then from one of this page, I have
Link
components redirecting to the other pages but this doesn't do anything, I'm not even running into myuseEffect()
.I'd like to know if there is a way to do it with react router v6 ?
Beta Was this translation helpful? Give feedback.
All reactions