MCPcopy Create free account
hub / github.com/TanStack/query / App

Function App

examples/react/simple/src/index.tsx:11–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9const queryClient = new QueryClient()
10
11export default function App() {
12 return (
13 <QueryClientProvider client={queryClient}>
14 <ReactQueryDevtools />
15 <Example />
16 </QueryClientProvider>
17 )
18}
19
20function Example() {
21 const { isPending, error, data, isFetching } = useQuery({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected