Using getInfiniteData() for infinite scrolling
Can anyone please help me with this? I can't seem to be able to use these helper methods like cancel(), getInfiniteData(), or setInfiniteData().
https://trpc.io/docs/client/react/useInfiniteQuery
useInfiniteQuery | tRPC
- Your procedure needs to accept a cursor input of any type (string, number, etc) to expose this hook.
1 Reply
Please help :theoDisgusted: