Second Brain
HomeTableBooksPodcastsNewslettersGraphStatsTagsAuthorsAbout

Janette Cheng

(1)
Software Engineer at Meta working on GraphQL and Relay. Speaker at GraphQL Conf on topics including fragments, nullability, and UNSET fields.
LinkedIn

Notes (1)

How To Use Fragments (They're Not for Re-use!)

by janette-cheng

GraphQL fragments describe data requirements for components, not reduce code duplication. Reusing fragments causes overfetching. Use fragment models, collocate GraphQL with code, and write GraphQL that mirrors your component structure.

graphqlrelaymetafrontendbest-practicesarchitectureJan 3, 2026
Source