MCPcopy
hub / github.com/TanStack/query / Inner

Function Inner

packages/react-query/src/__tests__/useInfiniteQuery.test.tsx:1727–1739  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1725 }
1726
1727 function Inner() {
1728 const state = useInfiniteQuery({
1729 queryKey: key,
1730 queryFn,
1731 getNextPageParam: () => undefined,
1732 initialPageParam: 0,
1733 })
1734 return (
1735 <div>
1736 <h1>Status: {state.status}</h1>
1737 </div>
1738 )
1739 }
1740
1741 function Page() {
1742 const [isVisible, setIsVisible] = React.useState(true)

Callers

nothing calls this directly

Calls 1

useInfiniteQueryFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…