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 · 1:42:58 AM
- Bbob reviewed a drafta-1 · 1:41:58 AM
- Ccarol opened the main pipelinea-2 · 1:40:58 AM
- Ddave closed a feature brancha-3 · 1:39:58 AM
- Eeve commented on the release PRa-4 · 1:38:58 AM
- Ffrank pushed an issuea-5 · 1:37:58 AM
- Ggrace merged a drafta-6 · 1:36:58 AM
- Hheidi reviewed the main pipelinea-7 · 1:35:58 AM
- Iivan opened a feature brancha-8 · 1:34:58 AM
- Jjudy closed the release PRa-9 · 1:33:58 AM
- Aalice commented on an issuea-10 · 1:32:58 AM
- Bbob pushed a drafta-11 · 1:31:58 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.