useInfiniteQuery does not exist on TRCP

I'm using tRCP v10 and why I don't have access to this method? https://trpc.io/docs/useInfiniteQuery#example-react-component
useInfiniteQuery | tRPC
- Your procedure needs to accept a cursor input of any type (string, number, etc)
3 Replies
amanuel
amanuel2y ago
Can you show an example of how you're trying to use it?
ziN
ziNOP2y ago
One sec, I think I need to upgrade my tRCP I found the problem, my inputs were .optional()
ziN
ziNOP2y ago
Want results from more Discord servers?
Add your server