Which project does this relate to?
Router
Describe the bug
I am attempting to update only the path params from the current route, but the params are not updating. This seems to work for search params.
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-hjja2d?file=src%2Froutes%2Fposts.%24postId.tsx
Steps to Reproduce the Bug or Issue
- Go to the stackblitz.
- Click on the posts link and select the first post.
- There should be a link on that page that says "Switch to post 2"
- Attempt to click on the link
- Notice the path is not updated
Expected behavior
Path params to get replaced when navigating to '.'.
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
This might be related to #2415, but I wasn't sure since that is using navigate instead of a link.