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

Function Root

examples/solid/batching/src/index.tsx:116–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114}
115
116function Root() {
117 return (
118 <QueryClientProvider client={queryClient}>
119 <App />
120 <SolidQueryDevtools initialIsOpen />
121 </QueryClientProvider>
122 )
123}
124
125const rootElement = document.getElementById('root')
126if (!rootElement) throw new Error('Missing #root element')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected