How to Link to same route (dynamic) with different parameters?
In version 1.53.1 I was able to render
- /accounts/$accountId
- /accounts/$accountId/posts/$postId
- ...
It would take the current location url and just replace the $accountId parameter to generate a new one...
Current:
Generated:
In version 1.91.2 after updating I am no longer able to achieve this
<Link params={{accountId: '456'}} /> without to or from and have it build hrefs for:- /accounts/$accountId
- /accounts/$accountId/posts/$postId
- ...
It would take the current location url and just replace the $accountId parameter to generate a new one...
Current:
/accounts/123/posts/1Generated:
/accounts/456/posts/1In version 1.91.2 after updating I am no longer able to achieve this