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

Function Inner

packages/preact-query/src/__tests__/useInfiniteQuery.test.tsx:1658–1670  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1656 }
1657
1658 function Inner() {
1659 const state = useInfiniteQuery({
1660 queryKey: key,
1661 queryFn,
1662 getNextPageParam: () => undefined,
1663 initialPageParam: 0,
1664 })
1665 return (
1666 <div>
1667 <h1>Status: {state.status}</h1>
1668 </div>
1669 )
1670 }
1671
1672 function Page() {
1673 const [isVisible, setIsVisible] = useState(true)

Callers

nothing calls this directly

Calls 1

useInfiniteQueryFunction · 0.50

Tested by

no test coverage detected