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
I'm having a strange behavior with one route. The validateSearch is running multiple times even in other routes.
In the images I have my route tree, the logs of validateSearch on other route match, and the validateSearch logs in the route that should validate the search.
As part from that, even my validateSearch is setting the default params if not present, they aren't showing in the url, same #1184
My route file:
Describe the bug
I'm having a strange behavior with one route. The
validateSearch
is running multiple times even in other routes.In the images I have my route tree, the logs of
validateSearch
on other route match, and thevalidateSearch
logs in the route that should validate the search.As part from that, even my
validateSearch
is setting the default params if not present, they aren't showing in the url, same #1184My route file:
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-r3gsvr?file=src%2Froutes%2F_layout%2F_layout-2%2Flayout-a.tsx
Steps to Reproduce the Bug or Issue
Navigating between pages in the sandbox, you can see the logs in the console.
Expected behavior
The
validateSearch
running only once on the route and never on other routes. As well as putting the search params in the url.Screenshots or Videos
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: