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

Function Inner

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

Source from the content-addressed store, hash-verified

1734 }
1735
1736 function Inner() {
1737 const state = useInfiniteQuery({
1738 queryKey: key,
1739 queryFn,
1740 getNextPageParam: () => undefined,
1741 initialPageParam: 0,
1742 })
1743 return (
1744 <div>
1745 <h1>Status: {state.status}</h1>
1746 </div>
1747 )
1748 }
1749
1750 function Page() {
1751 const [isVisible, setIsVisible] = React.useState(true)

Callers

nothing calls this directly

Calls 1

useInfiniteQueryFunction · 0.50

Tested by

no test coverage detected