Data Fetching With Suspense In Relay
summary
Claims that render-as-you-fetch plus explicit preload APIs give measurably faster and less janky loads, demonstrated by Relay running data and code in parallel on new facebook.com and mobile apps. Tools actually used: Relay hooks (preloadQuery, usePreloadedQuery, useLazyLoadQuery), React Suspense, SuspenseList, error boundaries and concurrent mode. Built an experimental Relay hooks runtime and compiler, deployed in production, and reports it works; experimental open‑source release invites inspection and feedback.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 3:12Fetch On Render Pattern
- 5:25Then Fetch Render Pattern
- 6:50Fetch Data
- 10:14Loading Sequence
- 11:59Suspense Boundary
- 18:01Render As You Fetch
- 22:47Implementation








