TanStackT
TanStack8mo ago
1 reply
moderate-tomato

Restoring Search Params

We have a big data table that has filters that we drive from search params.
We want to restore those search params any time the users returns to the default router.

Example flow

User goes to /data-table
User adds filter so we go to /data-table?filter={name:"test"}
User navigates away. to do some other work.
The next time the user clicks on any /data-table route we want to restore the previews filter

Is there any feature baked in that would allow us to do this?
Was this page helpful?