How to get the full path?
Is there any way of getting the whole path without me always having to use the javascript location.pathname?
3 Replies
ambitious-aqua•2y ago
ambitious-aqua•2y ago
useRouterState hook | TanStack Router Docs
The useRouterState method is a hook that returns the current internal state of the router. This hook is useful for accessing the current state of the router in a component.
useRouterState options
correct-apricotOP•2y ago
Thanks 👍