Shopify shifts from React Native to native development
Shopify 从「React Native」回归「原生开发」 https://t.co/fS0yyGcfol 2020 年 Shopify all-in React Native Shopify ...
For developers, this story shows how AI coding can significantly reduce the time and effort needed to maintain multi-platform applications, a common challenge for businesses like Shopify.
In 2020, Shopify fully adopted React Native for its mobile apps. By late 2025, they discovered that using LLMs to rebuild core modules could align iOS and Android versions through shared specifications and testing. This AI-driven approach reduced the cost of maintaining two native platforms. The company chose to rebuild from scratch rather than migrate gradually, completing the transition to full native apps in just 12 weeks. They developed the Helix system to manage the AI code generation process, breaking it into small, verifiable steps that required human and automated review. The new architecture decoupled business logic from the UI, allowing the AI agent to iterate quickly on the desktop.
Shopify 从「React Native」回归「原生开发」 https://t.co/fS0yyGcfol 2020 年 Shopify all-in React Native Shopify ...
Shopify 从「React Native」回归「原生开发」 shopify.engineering/shop-app-migra… 2020 年 Shopify all-in React Native Shopify 一直都是 React Native 生态非常重要的贡献者,他们当年选择 RN 有三个理由:功能只建一次、Web 开发者可参与移动端、不再追赶平台对等。 这个决策在当年的移动端开发中是很常见和合理的,但他们付出的代价是:性能优化更费劲、要维护框架层、要持续跟进依赖更新——当时这笔账算得过来。 2025 年底 AI Coding 的意外发现 2025 年底团队用 LLM 做了一些核心模块的原生重建试验,发现 Agent 可以拿 iOS 实现当参考直接写 Android 版本,并通过共享规格、测试和审查保持两端对齐。 双平台的原生成本没有消失,但被 AI Coding 压到了不再“决定性”的程度,包括时间和人力成本。 # Shopify 对“AI 时代如何写软件”的理解很有深度 1. 选择推倒重来而非渐进迁移。 理由很务实:LLM 特别擅长“以现有实现为参考进行重建”,且能借此甩掉历史包袱。Shop 应用从概念验证到全原生上架只用了 12 周——这个速度本身就是论据的一部分。 2. Helix 系统:解决“AI 重写 = 不可维护的垃圾代码”问题。 他们没有让 Agent 一次性吐出重写,而是把每个屏幕的迁移切成一系列几分钟可审的小检查点,每个检查点必须:用测试证明行为等价、视觉上与运行中的应用匹配、通过两个“对抗性审查者”、人类确认后才提交。审查反馈会被记住,迁移推进过程中循环越来越自主。这本质上是把“人类监督下的渐进式代码生成”做成了产品。 3. 为 Agent 重新设计架构。 他们发现瓶颈不在代码生成(几秒)而在验证(Agent 操作模拟器要几分钟)。解法是把业务逻辑与 UI 彻底解耦,做成可以在桌面无头运行的 CLI,让 Agent 以毫秒级迭代,还能自主工作数小时。“架构同时服务人类和 Agent”——这句话可能是全文最长远的信号。 Shopify 是 React Native 生态的重要贡献者,退出安排得比较体面,但影响是实打实的: · FlashList(周下载约 200 万,RN 高性能列表的事实标准)正在寻找新托管方; · React Native Skia 由作者 William Candillon fork 后以新名称延续,Shopify 赞助到 2026 年底; · Restyle 将归档,维护至 2026 年底。 Mustafa Ali @mustafa01ali x.com/i/article/2098… 🔗 View Quoted Tweet 💬 0 🔄 0 ❤️ 1 👀 777 ⚡