You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am implementing infinite scroll pagination using useSWRInfinite. However, after the third page scroll, the first item of data is not first page data but of the second page data.
Expected Behavior
When do page-nation, the first item in the data must be on the first page.
Bug report
Description / Observed Behavior
I am implementing infinite scroll pagination using
useSWRInfinite
. However, after the third page scroll, the first item ofdata
is not first page data but of the second page data.Expected Behavior
When do page-nation, the first item in the
data
must be on the first page.Repro Steps / Code Example
Additional Context
SWR version. 0.4.0
The text was updated successfully, but these errors were encountered: