useQueryClient function

QueryClient useQueryClient()

A hook to get the QueryClient from the current context.

Implementation

QueryClient useQueryClient() {
  final context = useContext();
  return QueryProvider.of(context);
}