QueryClient with Refine, but are facing issues with it not being recognized in the TanStack DevTools. Based on the information from the knowledge sources, here are some steps and considerations that might help resolve the issue:QueryClient. You can pass your custom QueryClient instance to Refine through the clientConfig option. Here's an example of how you can do this:<QueryClientProvider /> or a new QueryClient. You can directly use useQueryClient without this boilerplate." Source (https://github.com/refinedev/refine/issues/5499)@tanstack/react-query@4x version." Source (https://github.com/refinedev/refine/issues/5499)<QueryClientProvider />@tanstack/react-query@4x import { QueryClient } from "@tanstack/react-query";
const myQueryClient = new QueryClient();
const App = () => (
<Refine
options={{
reactQuery: {
clientConfig: myQueryClient,
},
}}
/>
);