Skip to content

useInfiniteQueries example with skip instead of cursor #1307

Answered by KATT
JulienDemarque asked this question in Q&A
Discussion options

You must be logged in to vote

Yup, I've done that myself, just have something like cursor: z.number().min(0).default(0)

It can also act as a page if you do limit*cursor

Replies: 9 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by KATT
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1306 on November 25, 2021 13:00.