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

Function Root

examples/react/batching/src/index.tsx:111–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109}
110
111function Root() {
112 return (
113 <QueryClientProvider client={queryClient}>
114 <App />
115 <ReactQueryDevtools initialIsOpen />
116 </QueryClientProvider>
117 )
118}
119
120const rootElement = document.getElementById('root')
121if (!rootElement) throw new Error('Missing #root element')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected