~/talk

Incrementally Adopting GraphQL and Relay at Pinterest

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

Pinterest builds a Relay migration API with hooks like useMigrationFragment hook and useMigrationQuery hook plus an Auto Legacy translator that turns REST pin objects into GraphQL-shaped Relay types, letting components accept either source. Hundreds of components and a dozen features already migrate incrementally under AB tests across a half billion MAU app. The system caches translated objects for stable references, removes duplicated translators, and is about to be open sourced.

AI-written summary · about

  1. 0:00The problem with legacy data
  2. 2:47Iterative migration attempts
  3. 8:16Developing a migration API
  4. 8:48Automating translation logic
  5. 11:54Implementing the migration API
  6. 14:20Bottom-up component migration
  7. 14:33Handling complex component trees
  8. 14:44Advanced fragment spreading
  9. 15:33Supporting multi-source inputs
  10. 17:32Migrating the root data layer
  11. 19:40Experimentation and roll-out
  12. 20:50Cleanup and technical debt
  13. 21:01Results and future outlook
  14. 24:37Closing thoughts 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.