Five years of React Native at Shopify
After five years, Shopify has migrated all its mobile apps to React Native, with each team choosing its own migration timing, and reports sub-500ms P75 screen loads, over 99.9% crash-free sessions, and an end to iOS/Android feature-parity work. Hot reloading and TypeScript let engineers move between web and mobile, but native developers and native code remain essential for hardware features, widgets, watch apps and long-running background sync such as Point of Sale offline data. The downsides are flaky debugging, labor-intensive framework upgrades (handled by a rotating group) and heavier reliance on third-party libraries, mitigated with Dependabot and code scanning. Shopify is now extracting shared libraries for identity, monitoring and performance measurement after initially trading consistency for migration speed.
Related posts
- Migrating Shop app from React Native to native
Shopify Engineering mediumAdeptShopify rebuilt the Shop app from React Native into native Swift/SwiftUI and Kotlin/Jetpack Compose in 12 weeks, with coding agents porting features using the existing React Native app as a reference. Native builds cut cold start by 23% on iOS and 50% on Android, raised session stability from 99.5%+ to 99.95%+, shrank the Android app by 109 MB, reduced Android release build time by about 75%, and reached 120 FPS scrolling on Pixel. The team built a Pi agent extension with subagents for source analysis, planning, implementation and parity review, with plan approval tied to a content hash. They also built Tardis, a tool that exposes live app events, logs and state to agents and compares analytics payloads between the old and new apps. Native expertise, linting, tests and code review were still needed to catch duplication, architectural drift and performance problems in generated code.
- Migrating our Largest Mobile App to React Native
Shopify Engineering mediumAdeptShopify is moving its largest native app, Shopify Mobile (300 screens per platform), to React Native through "Iterative Porting" rather than a rewrite. All new features are built in RN while existing screens are ported in parallel. Ports are prioritized with RICE scoring, shipped behind feature flags and monitored for two weeks before the native code is deleted. The team started with the four root screens, which took about four months and needed infrastructure along the way: "Native Routes" so RN can navigate to native screens, deeplinks that open as modals on iOS to avoid mixed RN/native navigation stacks, and safe-area handling inside cells. The porting also exposed and removed business-logic differences between the iOS and Android versions.
- Migrating to React Native's New Architecture
Shopify Engineering mediumAdeptShopify moved Shopify Mobile and POS to React Native's New Architecture (Fabric) without pausing weekly releases. The team kept both architectures buildable on every PR, made only minimal code changes, deferred TurboModule conversion of 40+ native modules, and upgraded to the latest React Native first. Common breakages included state batching exposing timing-dependent components, blank screens caused by UIManager-dependent modules, view flattening nulling refs (fixed with collapsable={false} and a Babel plugin), and main-thread module setup deadlocks. A staged Android-first rollout with stability-based rollback tiers yielded 10% faster Android launch, though crash-free sessions and ANRs regressed for weeks after release.
- Native is now the future of mobile at Shopify
Shopify Engineering easyNoviceShopify is moving its mobile apps from React Native back to native Swift and Kotlin because coding agents have cut the cost of building and keeping features in parity across two platforms, while native still gives closer access to platform capabilities and first-party tooling. The apps are being rebuilt greenfield rather than migrated gradually. The Shop app went from proof of concept to a published native app in 12 weeks, and the 300+ screen Shopify app is in progress. To avoid unmaintainable one-shot LLM output, a system called Helix splits each screen into small checkpoints, and each one must pass tests, visual comparison, two adversarial AI reviewers and human approval. Business logic is being decoupled from the UI so it runs headlessly behind a CLI, letting agents iterate in milliseconds instead of waiting minutes on simulators. Shopify's open-source libraries are also changing hands: Skia moves to a fork maintained by William Candillon, FlashList is seeking a new steward, and Restyle is being archived.
- Management of Native Code and React Native at Shopify
Shopify Engineering mediumAdeptShopify's Point of Sale team kept complex UI such as a draggable, reorderable grid of hundreds of buttons in React Native, fixing performance with fewer re-renders, lazy rendering, memoization and Reanimated 2. Background offline sync jobs were a different story: they froze the app because work in single-threaded JavaScript plus bridge traffic blocked interaction. The team moved that sync engine to a Kotlin Multiplatform library using SQLDelight, Apollo and coroutines, reaching about 95% shared code and cutting initial sync for a medium store from 30+ seconds to 2-3 seconds. The post recommends packaging KMM as a separate library with sandbox apps, sketches the Gradle and Xcode build setup, and notes the steeper learning curve for Swift developers.