inifnteQuery looping item by item #3617
Unanswered
cubecleveland
asked this question in
Q&A
Replies: 1 comment
-
sounds like you're looking for the paginate example: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, i have a use case where we used the useInfinteQuery hook to fetch Data.
We want to implement a slider when u can view the query stored items 1 by one.... where the initial item is the one you clicked on from the list .
Basically with next and prev buttons.
Also, when reaching the last item in the infinite list we want to fetch the nextPage and give the user the ability to keep moving back and forth from the updated list..
Sounds simple but we reached a few roadblocks especially because we are trying to pass the entire list to another component with the index of the currently selected item,..
any help ,will be much appreciated
Beta Was this translation helpful? Give feedback.
All reactions