Replies: 1 comment 5 replies
-
I was able to reproduce it here https://stackblitz.com/edit/github-3yrcd5 the main culprit seems to be because of |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've looked around and this seems to be possibly a bug (unless I have misconfigured how I'm using search params within TanStack router), but when I hover a link, even when I didn't click on the link, it loads the new search param within the state of my component.
Here's an example of it happening, you can see in the devtool (and URL, but forgot to grab it in the recording) that it didn't update when I hovered yet the code updated within the name field from Micor to Testing.
I use the router with TanStack Router where I have
defaultPreload: "intent"
set within my main router, but still wouldn't expect the behaviour of search params affecting on hover.To add on, I get the search params within the relevant page component using
Route.useSearch();
Beta Was this translation helpful? Give feedback.
All reactions