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
If you are interested, here are the full discussions of why we built this feature in the first place: #1401 (comment), and why we now provide this new option to customize it.
Bug report
Description / Observed Behavior
What kind of issues did you encounter with SWR?
Always 2 requests sends to API:
Expected Behavior
1 request should be created with page N
How did you expect SWR to behave here?
Repro Steps / Code Example
Install https://github.com/vercel/swr/tree/main/examples/infinite-scroll
Take a look in Network tab
Or share your code snippet or a CodeSandbox link is also appreciated!
Additional Context
SWR version.
Add any other context about the problem here.
It works as expected for very old version :) Example - https://swr.vercel.app/examples/infinite-loading
The text was updated successfully, but these errors were encountered: