Patch Changes
- #12636
0cf8f49- RequiregetNextPageParamin the types forqueryClient.infiniteQuery, the deprecated infinite query methods, andusePrefetchInfiniteQuery. If you omitpages, a stale query can still refetch multiple cached pages and needs the callback to compute their page parameters. Reuse the sameinfiniteQueryOptionsyou pass touseInfiniteQueryto supply the callback.