()
| 8 | const queryClient = new QueryClient() |
| 9 | |
| 10 | export function App() { |
| 11 | return ( |
| 12 | <QueryClientProvider client={queryClient}> |
| 13 | <Example /> |
| 14 | </QueryClientProvider> |
| 15 | ) |
| 16 | } |
| 17 | |
| 18 | const Example = () => { |
| 19 | const { isPending, error, data, isFetching } = useQuery({ |
nothing calls this directly
no outgoing calls
no test coverage detected