TanStackT
TanStack3mo ago
7 replies
living-lavender

How to access query client instance outside of the router's context?

The generated project creates an instance of query client in the getRouter func and adds it to the context so that we can access it in loader, etc. How can i access this instance from somewhere else?
Was this page helpful?