Undefined pageParams useInfiniteQuery #1606
Replies: 3 comments 1 reply
-
for the first fetch, the
so I think this behaviour is intended, there is only so much we could do:
|
Beta Was this translation helpful? Give feedback.
-
Hi! Today I had the same problem with the |
Beta Was this translation helpful? Give feedback.
-
I was having this error because I was using |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all maintainers.
I have a question regarding the
[undefined]
for useInfiniteQuery on the initial first load. Why is it undefined and not have the initial value from the first query?Should it not be ..?
according to the default value for
pageParam
?This is just me using the example codeSandBox for infinite scroll and load more.
SandBox
I just added in
As i continue to scroll it continues to be undefined but it does properly update the
pageParams
with the next value that gets return from thegetNextPageParam
Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions