Replies: 2 comments
-
After a bit of debugging, it seems to come down to a trailing slash: The |
Beta Was this translation helpful? Give feedback.
-
I believe you that the order changes the behavior — it will generally give you the first complete match. I can see why the trailing slash would cause it to prefer the param version instead. If you want to require the trailing slash, it may be the case that Trailing slash behavior has traditionally been tricky to make particularly consistent. Glad you found a workaround. |
Beta Was this translation helpful? Give feedback.
-
Following the book, I tried to set up simple nested routes, like this:
However, with this order, I always get the
test
in the outlet, instead ofSelect a contact
. If I switch the order around, so that theParamSegment
is the second route, this works as intended.Beta Was this translation helpful? Give feedback.
All reactions