jotaijs / jotai-cache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Breaks during fast pagination(Official example)

alyiev opened this issue · comments

commented

Steps to reproduce:

  1. Open the official site - https://jotai.org/docs/integrations/cache;
  2. Scroll down and find the official example;
  3. Paginate to 20 page
  4. See the result:

image

Hi,

It's because the API has only 12 users.
https://reqres.in/api/users/12
https://reqres.in/api/users/13

I see your confusion. Feel free to improve the example (fork the codesandbox and open a PR.)