Replies: 1 comment 3 replies
-
sounds like you'd rather have some form of virtualization / windowing while rendering ? |
Beta Was this translation helpful? Give feedback.
3 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.
-
Hi, I'm a newbie for this react-query and I have a question.
I want to show only 2 pages list using useInfiniteQuery.
For instance, in infinite scroll, I want to request third page and remove first page with scrolling down. After that, if I scroll down to the bottom, the third page and the fourth page should be rendered and the second page should be removed. Same as vice versa.
Is there any way or apis to resolve this? I found that queryClient could be really helpful but I think it couldn't be the solution for this.
Beta Was this translation helpful? Give feedback.
All reactions