Infinite scroll (prefetch + useInfiniteQuery)
Server prefetches page 1 (so the first 12 items are in the HTML). As you scroll past the bottom, an IntersectionObserver fires fetchNextPage() — each page has 250ms of simulated latency.
Loaded 12 of 200 items
- Aalice merged an issuea-0 · 3:11:49 AM
- Bbob reviewed a drafta-1 · 3:10:49 AM
- Ccarol opened the main pipelinea-2 · 3:09:49 AM
- Ddave closed a feature brancha-3 · 3:08:49 AM
- Eeve commented on the release PRa-4 · 3:07:49 AM
- Ffrank pushed an issuea-5 · 3:06:49 AM
- Ggrace merged a drafta-6 · 3:05:49 AM
- Hheidi reviewed the main pipelinea-7 · 3:04:49 AM
- Iivan opened a feature brancha-8 · 3:03:49 AM
- Jjudy closed the release PRa-9 · 3:02:49 AM
- Aalice commented on an issuea-10 · 3:01:49 AM
- Bbob pushed a drafta-11 · 3:00:49 AM
scroll to load more
Try a hard reload — the first page renders instantly because the server prefetched it. Without RSC handoff, you'd see a "Loading…" flash for ~250ms before the first items appeared. Notice the id tags on each row — they confirm pages are stable across reloads.