useRouter
Access the current TanStack Router instance from React context. Must be used within a RouterProvider.
Options:
warn: Log a warning if no router context is found (default: true).
Return
The registered router instance.
Access the current TanStack Router instance from React context. Must be used within a RouterProvider.
Options:
warn: Log a warning if no router context is found (default: true).
The registered router instance.