Replies: 1 comment
-
Were you able to solve this issue? Seems like it's still not fixed |
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.
-
I'm using NextJS and want to create 'load more' pagination with
useSWRInfinite
.But it is strange behavior for me when I provide
initialData
and thangetKey
calls withpage: 0
andprevPageData: null
I expect if I pass initial data in count of 1 item it will pass
page
as 1 and my initial data asprevPageData
because I already have first loaded page.For example:
Beta Was this translation helpful? Give feedback.
All reactions