Reference
getQueryClient
Returns the current scoped query client on the server or the shared browser query client in the browser. Browser calls automatically hydrate from the mreact query state script when present.
Signature
function getQueryClient(): QueryClient