Codesandbox: https://codesandbox.io/p/sandbox/w39kyg
useInfiniteQueryState
and useInfiniteQuerySubscription
require the combined arg as a parameter. Is this intentional? Shouldn't it ask for queryArg
only, like the regular hook? The pages are grabbed fine with no argument, but typescript wants the { pageParam, queryArg }
combination.