TanStackT
TanStack10mo ago
38 replies
dangerous-fuchsia

Is there a way to update a search param without triggering navigation hooks like beforeLoad?

I tried to use window.history.replaceState({}, "", newUrl); but even that causes the beforeLoad of routes to run.
Was this page helpful?