How to get pageParam from useInfiniteQuery()?
How would I write a tRPC call equivalent to this traditional
useInfiniteQuery
? My primary concern here is that I need to pass in a cursor to my procedure, and upon each successive query I need to update this cursor for the next call.
Maybe it should be something like this?
0 Replies