Replies: 1 comment
-
Hello. Can anyone here comment on this question? |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
In the Quick Start Overview documentation the following fragment appears:
I want to know how this is not appearing to work as expected in the following example:
I have an app with the following two routes
When I visit
/app/123/projects
I get the expected<TeamProjectsPage />
rendered. When I visit/app/label/hello
, I get the expected<LabelPage />
.However, when I visit
/app/label/projects
, react-router takes me to<TeamProjectsPage />
with the paramteamId
equal to"label"
. That's not the intention. The intention is that it would get me to the labels page for the label"projects"
.I would argue that the part
/app/label
from the second one makes it more specific than the first one. Am I wrong?Also, the order in which I declare these two routes does not seem to matter.
Beta Was this translation helpful? Give feedback.
All reactions