GitHub Sep 23, 2020

GitHub Mobile and GraphQL

Article Summary

Hesham Salman from GitHub reveals how GraphQL eliminated over-fetching and let their mobile team ship features at warp speed. The secret? Letting the client define exactly what data it needs.

GitHub's mobile engineering team adopted GraphQL and Apollo clients for iOS and Android, fundamentally changing how they build features. This shift moved them away from REST endpoints and manual model management toward automated code generation and composable data queries.

Key Takeaways

Critical Insight

GraphQL and Apollo abstracted away networking tedium, letting GitHub's mobile team focus on building features instead of maintaining API infrastructure.

The article reveals a specific fragment pattern GitHub uses heavily across their app that keeps models consistent and queries short.

Recent from GitHub

Related Articles