Deploy your own SWR project with Vercel.
Download the example:
curl https://codeload.github.com/vercel/swr/tar.gz/master | tar -xz --strip=2 swr-master/examples/infinite-scroll
cd basic
Install it and run:
yarn
yarn dev
# or
npm install
npm run dev
Deploy it to the cloud with now (download)
now
Show usage of useSWRInfinite with infinite scroll based on IntersectionObserver