HN
Today

Shopify moves back to Native from React Native

Shopify, once a big proponent of React Native, is now fully pivoting back to native iOS and Android development, citing advanced AI models as the reason this costly endeavor is now economically viable. This move sparks a heated debate on Hacker News about the future of cross-platform frameworks, the shifting landscape of developer roles, and the true impact of AI on software development. It challenges long-held assumptions about the trade-offs between shared codebases and platform-specific optimization, suggesting AI might reset the playing field for app development.

569
Score
394
Comments
#1
Highest Rank
21h
on Front Page
First Seen
Sep 10, 2:00 PM
Last Seen
Sep 11, 10:00 AM
Rank Over Time
1111667610112111212122

The Lowdown

Shopify is making a significant strategic shift, moving away from React Native to fully native iOS (Swift) and Android (Kotlin) development for its mobile applications. This reversal comes after years of successfully leveraging React Native for its efficiency benefits, which allowed Shopify to build features once, enable cross-stack developers, and ship value faster. The core reason for this pivot is the dramatic improvement in large language models (LLMs) since 2021, which Shopify believes has fundamentally altered the economics of maintaining multiple native codebases.

Here are the key takeaways from Shopify's announcement:

  • AI as the Game Changer: While React Native was initially chosen to avoid building the same features twice, LLMs have made this double-work significantly less costly by automating translation, testing, and review processes between Swift and Kotlin.
  • Helix System for Migration: Shopify developed an internal system called "Helix" to manage the AI-assisted migration. This system breaks down the migration into small, reviewable checkpoints, ensuring quality through test proofs, visual reviews, adversarial code review, and human sign-off.
  • Agent-Addressable Architecture: To accelerate feedback loops, Shopify is decoupling business logic from the UI, allowing agents to run and iterate on core logic headlessly via a CLI without relying on slow mobile simulators.
  • Rapid Migration: The Shop app was rebuilt natively in just 12 weeks with AI assistance, and the much larger Shopify app is currently undergoing migration, with other apps to follow.
  • Open-Source Commitments: Shopify will continue sponsoring React Native Skia through 2026 and is seeking new stewardship for FlashList, while Restyle will be archived.

Shopify emphasizes that this decision isn't about React Native's performance—their apps were fast—but about leveraging AI to achieve superior native advantages without the previous overheads. They aim for better app quality and faster product velocity, with agent autonomy as a key metric. This bold move highlights how evolving AI capabilities can prompt major re-evaluations of established technical strategies.

The Gossip

The Ever-Turning Tech Wheel

Many commenters observe that the debate between native and cross-platform development is cyclical, noting previous trends like Apache Cordova and Electron. Some believe that while AI changes the calculus, the fundamental trade-offs remain, particularly for smaller organizations. The consensus is that company size and resources significantly dictate the viability of native development, with Shopify's move making sense for a large, well-funded company, but not necessarily for startups.

AI's Ascendancy and Developer Anxiety

The discussion extensively explores how AI is reshaping the software development landscape. Many acknowledge that AI makes maintaining multiple native codebases feasible by automating tedious porting and syncing tasks. However, this leads to concerns about job displacement, with some fearing the end of coding as a professional occupation, while others argue it elevates developers to higher-level architectural or product management roles. There's also debate on the quality and maintainability of AI-generated code, with some experiencing rapid, successful ports, and others expressing skepticism about long-term stability and debugging without deep language expertise.

Nuance and Native's Niche

Commenters dive into the nuanced advantages and disadvantages of native versus cross-platform. Proponents of native development highlight superior user experience, performance, and access to platform-specific features, often viewing cross-platform solutions as compromises. Detractors of cross-platform frameworks lament the "React Native tax"—difficult upgrades, uneven library quality, and impedance mismatches. However, some point out the continued benefits of cross-platform (like over-the-air updates) and question whether AI truly eliminates the need for unified codebases, especially for feature parity and long-term maintenance. Others worry that AI might lead to a proliferation of poorly maintained "vibe-coded" apps.

The IP & Token Cost Conundrum

A significant thread discusses the implications of feeding proprietary code into LLMs for training, raising concerns about intellectual property leakage. While some argue that LLM providers have policies against training on user input for enterprise accounts, others highlight the risks of accidental data exposure or lack of developer awareness. Another related point is the cost of AI usage, with queries about Shopify's "token spend" and whether the financial and environmental costs of running LLMs for constant code generation outweigh the benefits, suggesting a trade-off of human labor for computational resources.