infiniteQuery does not fetch next page #4839
-
Like the title explains, I can't seem to get the next set of results/page on request using infiniteQuery. I also made a snack from the example code in the docs but still nothing. It looks like the pageParam never gets incremented when fetchNextPage is called. I've tried version 3 and 4 with same results. So I'm not sure if I should be incrementing the nextCursor manually. I can see nothing in the docs that suggests that I have to do so. This is for React Native. The web examples on the docs work as expected.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
there is no property called |
Beta Was this translation helpful? Give feedback.
there is no property called
nextCursor
in the api response from this endpoint:https://api.instantwebtools.net/v1/passenger?page=1&size=10