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