QueryClient

Auth React and Wagmi require TanStack Query, added during the Auth React installation. The library enables fetching, caching, synchronizing, and updating asynchronous data in your React application.

You need to import and instantiate QueryClient. The initialized variable queryClient will be sent as a property of QueryClientProvider to the children's application.

Example:

import { QueryClient } from '@tanstack/react-query';

const queryClient = new QueryClient();

For more information on QueryClient and QueryClientProvider, refer to the TanStack Query Documentation.

Last updated

© 2023 -> ♾️