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

Function App

examples/preact/simple/src/index.tsx:10–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected