Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useSWRInfinite could not load new page correctly after clear and refresh #3037

Open
promer94 opened this issue Nov 11, 2024 · 0 comments
Open
Labels
area: infinite area: pagination Pagination related issues

Comments

@promer94
Copy link
Collaborator

Bug report

Description / Observed Behavior

useSWRInfinite could not load new page correctly after clear and refresh

Expected Behavior

useSWRInfinite should send new request.

Repro Steps / Code Example

https://codesandbox.io/p/sandbox/swr-infinite-forked-6r8czs

  • click loadmore twice
  • clear
  • refresh
  • click loadmore twice

Additional Context

2.2.5

@promer94 promer94 added area: pagination Pagination related issues area: infinite labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: infinite area: pagination Pagination related issues
Projects
None yet
Development

No branches or pull requests

1 participant