Routing precedence / React-Router route ranking issue #3100
Replies: 3 comments
-
To make it a bit more concrete:
The route |
Beta Was this translation helpful? Give feedback.
-
React Routers ranking algorithm runs into an issue in our case:
Now the order in the file system defines the selected match (file based routing). |
Beta Was this translation helpful? Give feedback.
-
Making the Is this a workaround? Is this an issue in react-router and should we create an issue over there? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
we have a conflict (precedence problem) in one of our routes.
For example we have to routes like this:
Is there a way that
/order
will be preferred during route decision? Currently we see that the/$var
route will be called for every request done.Thanks for any advice.
Beta Was this translation helpful? Give feedback.
All reactions