apply/set search param in component.
Hi,
How can i apply a param to my url when the page loads?
I'm using a system that generates a unique ID.
in their own examples they are doing something like.
is there something similar with Router or would I need to do a
navigate
like:
3 Replies
wise-white•12mo ago
yes use navigate
https://tanstack.com/router/latest/docs/framework/react/guide/search-params#usenavigate-navigate-search-
TanStack | High Quality Open-Source Software for Web Developers
Headless, type-safe, powerful utilities for complex workflows like Data Management, Data Visualization, Charts, Tables, and UI Components.

wise-white•12mo ago
but with to="."
old-apricotOP•12mo ago
ahh, cool