You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building an application where users frequently navigate between different pages and want to return to their previous filter states. Currently, I'm manually handling this with localStorage, but I'm wondering if there's a more elegant built-in solution or if this could be a feature worth considering.
Use Case:
User applies filters on /meetings page (e.g., ?status=active&type=consultation&user_id=123)
User navigates to /dashboard or another page
User returns to /meetings and expects to see the same filters they had before
User should also be able to manually modify filters in the UI without breaking this behavior
Questions:
Is there a recommended pattern for this use case in TanStack Router?
Would a built-in "search params memory" feature be valuable for the router?
Are there any existing utilities or hooks that could simplify this pattern?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!👋
I'm building an application where users frequently navigate between different pages and want to return to their previous filter states. Currently, I'm manually handling this with localStorage, but I'm wondering if there's a more elegant built-in solution or if this could be a feature worth considering.
Use Case:
Questions:
Beta Was this translation helpful? Give feedback.
All reactions