function useQueryClient(queryClient?): QueryClient;Defined in: preact-query/src/QueryClientProvider.tsx:21
The useQueryClient hook returns the current QueryClient instance.
QueryClient
Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.
QueryClient
The current QueryClient instance.
If no queryClient argument is passed and no QueryClientProvider is found in the component tree.