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 4:20pm - 4:50pm PDT
One of the most boring, laborious, and error-prone processes in GraphQL adoption is manually writing a fragment with all the fields that a given component will use. It requires engineers to track the fetched data through child components, conditionals, and function calls. We humans aren't good at being consistent and thorough — but computers are! That's why we decided to write a tool to generate appropriate fragments based on field usages! With this tool, developers add a JavaScript comment telling the program to track a given variable, run the algorithm, and voilà! They receive a fragment that selects just the fields used by that function. It even works across files, functions and classes — you can run the tool once for an entire component tree. The resulting fragments will contain fragment spreads that track the data from function to function, drastically reducing the time it takes to implement GraphQL in the frontend. In this presentation, I will show the tool, explain the use case and the road map, and then demonstrate this tool by generating fragments for an entire component tree. GraphQL adoption has never been easier!
Speakers
avatar for Vinicius Brown

Vinicius Brown

Software Engineer, Pinterest
Vinicius de Medeiros Brown is a Brazilian Electrical Engineer that specialized in making softwares for electrical grid related problems. With a vast experience in building complex algorithms to handle logistics issues, I persued a more traditional career into the software enginee... Read More →
Tuesday September 10, 2024 4:20pm - 4:50pm PDT
Metropolitan B-C

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