Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react query dev tools

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.
 
PREVIOUS NEXT
Tagged: #react #query #dev #tools
ADD COMMENT
Topic
Name
9+5 =