You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Navigating when using a retainSearchParams middleware seems to be broken.
The URL for the link shows the search parameter but once we navigate, the search parameter is lost.
Which project does this relate to?
Router
Describe the bug
Navigating when using a retainSearchParams middleware seems to be broken.
The URL for the link shows the search parameter but once we navigate, the search parameter is lost.
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-retain-nok?file=src%2Froutes%2F__root.tsx
Steps to Reproduce the Bug or Issue
Navigate to the about route using the link. The
rootValue
search parameter is lost.Expected behavior
rootValue
search parameter should be preserved.This behavior used to work. It was working on this example:
https://stackblitz.com/edit/tanstack-router-retain-ok?file=src%2Froutes%2F__root.tsx
If on the working version we delete the lock file and recreate it, it should stop working.
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: