Skip to content

Glossary: React Beyond the Basics

QueryClient

Also written: QueryClientProvider, useQueryClient

The object that holds TanStack Query's cache. You make one for the whole app, provide it with QueryClientProvider and reach it in components with useQueryClient.

Where the book teaches it

Related terms

cacheproviderTanStack Query