Can I re-use the current values of the path parameters? #895
Unanswered
dror-weiss
asked this question in
Q&A
Replies: 1 comment
-
|
There is no "built in" stuff like this. I can see multiple options (without thinking too much, some are maybe wrong ^^):
Let me know what do you think |
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.
-
If my app has the following path:
[locale]/resources/[resource_id]/items/[item_id]And I'm currently on the
en/resources/R1/items/I1page, can I navigate to another item by specifying only its ID in theroutefunction?For example, I want to call:
route('[locale]/resources/[resource_id]/items/[item_id]', { item_id: 'I2' })while keeping the current values of
localeandresource_id.Beta Was this translation helpful? Give feedback.
All reactions