Replies: 2 comments 1 reply
-
I think PR #1556 is somewhat related to this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jvllmr did you find a way to prevent tanstack from rerendering when search params change? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am migrating from
react-router-dom
to@tanstack/router
and I'm facing a critical issue.The application has SVG Viewers within multiple routes in the application and they update the search params with x, y, z coordinates when panning/zooming the viewer. When the search gets updates, the whole route re-validates and re-renders, resulting in a lot of stuttering.
With react-router I managed to solve this via the
shouldRevalidate
option (https://reactrouter.com/en/main/route/should-revalidate). Can I achieve the same in@tanstack/router
? I tried using theshouldReload
option, but it didn't work the same.Beta Was this translation helpful? Give feedback.
All reactions