Shopify 宣布移动端弃用 React Native,回归 Swift 和 Kotlin 原生开发

Simon Willison 博客·2026-09-11 05:11·1小时前
AI 导读

Shopify 宣布移动应用从 React Native 迁回 Swift 和 Kotlin 两套原生代码。官方解释 2020 年选 React Native 是为避免重复开发、让开发者跨栈工作,如今 Agent 已能承担足够的实现、转译、测试和评审工作,双平台维护成本不再是决定因素。

Simon Willison 博客
67AI 编辑部评分,满分 100

Shopify 宣布移动端弃用 React Native,回归 Swift 和 Kotlin 原生开发

2026-09-11 05:11· 1小时前
AI 导读

Shopify 宣布移动应用从 React Native 迁回 Swift 和 Kotlin 两套原生代码。官方解释 2020 年选 React Native 是为避免重复开发、让开发者跨栈工作,如今 Agent 已能承担足够的实现、转译、测试和评审工作,双平台维护成本不再是决定因素。

Shopify are moving from React Native back to separate Swift and Kotlin codebases for their native apps, for the exact reason you would expect:

We decided to switch from native to React Native in 2020 for three reasons:

  • Stop building the same features twice
  • Allow developers to work across the stack
  • Spend less time chasing feature parity and more time shipping value

[...]

Native still means building and maintaining software on two platforms, that cost has not disappeared. What changed is that agents can now do enough of the implementation, translation, testing, and review work that it’s no longer the deciding factor it was in 2020.

It's a well-written post, which gives full credit to React Native as a great platform for the six years they were using it.

Shopify are the maintainers of three significant React Native libraries: react-native-skia, flash-list, and restyle. The first two are finding new homes; the third "has a smaller user base than our other libraries" and will be archived at the end of 2026.