T
TanStack3y ago
optimistic-gold

Is it possible to navigate to update searchParams without remounting the component?

Hey, I have following query-question https://discord.com/channels/719702312431386674/1171836679204655194 The issue is that keepPreviousDate does not work when filtering with searchParams. Is there a way to achieve this goal or am I barking up the wrong tree. Thanks
1 Reply
optimistic-gold
optimistic-goldOP3y ago
I took another close look. It seems to be working as it should. Checkout: https://stackblitz.com/edit/tanstack-router-ni9orz?file=src%2Fmain.tsx
Armin
StackBlitz
pagination-with-search-params - StackBlitz
Run official live example code for Router Basic, created by Tanstack on StackBlitz

Did you find this page helpful?