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:
Copy
Ask AI
import { QueryClient } from '@tanstack/react-query';const queryClient = new QueryClient();