Param in partial path segment not possible in v6? #10889
-
In our app we have routes like Is this a breaking change in v6? Or can we work around it somehow? |
Beta Was this translation helpful? Give feedback.
Answered by
kiliman
Sep 24, 2023
Replies: 1 comment
-
Yes, RR v6 does not support partial params. You'll need to create a route like |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dsreitan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, RR v6 does not support partial params. You'll need to create a route like
/:view
and in your loader, strip off the leading"view--"
to get the id.