Fragment colocation in Apollo Client

Apollo GraphQL
920 views October 29, 2025

In this quick demo, Jerel shares a trick he's been using for some time to build with Apollo Client. Replace multiple fields with a reusable fragment across different locations, avoiding breaking changes. Learn more here: https://www.apollographql.com/docs/react/data/fragments PS sorry about the thumbnail... that started as a joke and then we couldn't not.

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close