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

Function App

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected