Loading…
Attending this event?
Tuesday, September 10 - Thursday, September 12, 2024
In-Person Only | San Francisco, CA

The Sched app allows you to build your schedule but is not a substitute for your event registration. You must be registered for GraphQLConf 2024 to participate in the sessions.

Please see the GraphQLConf 2024 website for additional information about the conference.

Please note: This schedule is automatically displayed in Pacific Daylight Time (UTC-7). To see the schedule in your preferred timezone, please select from the drop-down located at the bottom of the menu to the right.

IMPORTANT NOTE: Timing of sessions and room locations are subject to change.
Tuesday September 10, 2024 11:30am - 12:00pm PDT
Pinterest is too large to simply “rewrite our app” to use GraphQL in one fell swoop. Even migrating an individual screen takes months, at our scale this is quite challenging, like changing a plane’s engine while flying. Is GraphQL adoption destined to be difficult for large companies? Can this process be made more incremental? Unfortunately, the answer seems to be no. It's hard to imagine how components consuming GraphQL data can coexist on a page that makes network requests to a REST endpoint. And yet, we figured it out. And we had a good time, too! We designed Relay-compatible APIs that allow us to read data either from a GraphQL store or from arbitrary objects (e.g. from Redux.) So, engineers can migrate individual components within a larger tree. These components specify the data they need using a fragment, and receive GraphQL-shaped data, regardless of whether the data came from GraphQL or REST. When a component tree is fully migrated, we're able to A/B test the REST and GraphQL endpoints, and only turn on GraphQL when we're sure doing so won't degrade any metrics. And we're about to release this to open source: adopting GraphQL on the front-end has never been easier!
Speakers
avatar for Mauricio Montalvo

Mauricio Montalvo

Senior Software Engineer, Pinterest
I’m a software engineer with 11 years of professional experience, I consider myself full-stack but my career has been focused in Frontend Development in the past years, I love creating web apps using ReactJS & GraphQL.At Pinterest, I’m part of the Web team that’s exploring the... Read More →
Tuesday September 10, 2024 11:30am - 12:00pm PDT
Metropolitan A

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Share Modal

Share this link via

Or copy link