Using GraphQL for High-Performing Mobile Applications - Shopify
Jan 22, 2021

Summary
This post details the adoption of GraphQL for mobile applications, highlighting its benefits over REST APIs in terms of strong typing, schema introspection, and compile-time error detection. It also provides best practices for using GraphQL in mobile development, including the use of fragments for reusability, aliases for readable data models, directives for conditional fetching, and code generation tools like Syrup. The post emphasizes the importance of considering query costs for performance optimization.
More from the Shopify Mobile Hybrid Architecture trail
- Mobile Bridge: Making WebViews Feel Native (2025) - Shopify
- Migrating our Largest Mobile App to React Native - Shopify
- Implementing Server-Driven UI Architecture on the Shop App - Shopify
- Remote rendering: Shopify’s take on extensible UI - Shopify
- A Kotlin Style .copy Function for Swift Structs - Shopify