~/talk

GraphQL Pagination at Meta

Talkat GraphQLConf 2024 · on Tuesday, 2024-09-10· at 14:10· Metropolitan A· [graphql, frontend-architecture]
links:none on file
slides:none on file

Meta builds a client-side pagination framework on the Relay connection spec that auto-generates refetch queries, enforces cursor + pageInfo structure, and exposes three product APIs: executeInitialLoad/loadNext/loadPrevious. A runtime state manager handles loading spinners, deduplicates in-flight tail loads, maintains cursors, and applies memory or disk caching; optional @stream/@defer delivery reduces latency. The framework replaces repeated boilerplate queries and manual cursor/state logic and succeeds in speeding product development while improving performance.

AI-written summary · about

  1. 0:00Understanding connection spec
  2. 8:09Pagination pain points
  3. 11:41Building pagination frameworks
  4. 16:46Optimizing delivery and caching
  5. 20:10Summary and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.