Scaling GraphQL with Fragments
Fragments are the secret to managing GraphQL at scale.
- Reuse across queries
- Reduce over-fetching
- Cleaner co-location with components
Pro tip: validate them statically as part of CI.
This post is licensed under CC BY 4.0 by the author.