import { ReactQueryDevtools } from 'react-query/devtools'
<QueryClientProvider client={queryClient}>
{/* The rest of your application */}
<ReactQueryDevtoolsPanel initialIsOpen={false} />
</QueryClientProvider>
// By default this is only included in bundles when node env equals dev,
// so no need to worry about excluding it from production builds.
import { ReactQueryDevtools } from 'react-query/devtools'
function App() {
return (
<QueryClientProvider client={queryClient}>
{/* The rest of your application */}
<ReactQueryDevtools initialIsOpen={false} />
</QueryClientProvider>
)
}