Skip to main content
Back to blog
mobile

Why Zalando is keeping one codebase despite AI

By ··5 min read
A teal screwdriver handle beside a beech block holding three different bits, each with a kraft tag marked iOS, Android or Web.

In September, Shopify announced its return to Swift and Kotlin in Back to native. According to the company, coding agents make two separate apps cheaper to build. At the end of November, Zalando reached the opposite conclusion in Doubling down on one codebase. Its apps are moving to React Native, and the next step is one codebase for iOS, Android and the web.

We covered Shopify's case in Native or React Native: what AI changes. Zalando's completes the picture with a large-scale migration, its gains and what it cost.

One feature, built three times

For years, every new Zalando feature was developed for the web, for iOS and for Android. Each version had its own release pace and its own small differences in behaviour. For the past eighteen months, the company has been migrating its apps screen by screen. A migrated screen is first offered to a share of customers and compared with its native version, then rolled out to everyone once it meets the expected results.

Migrating without pausing new features

  1. Three separate apps

    Every feature is built for the web, iOS and Android.

  2. React Native inside the native appsToday

    More than 90% of about 100 screens per platform, migrated one at a time behind A/B tests.

    • Two navigation systems
    • Two networking layers
    • Bridges between native code and React Native
  3. Standalone React Native appIn progress

    The bridges and duplicates go away.

  4. One codebase with the webGoal

    The same screens on phone, tablet and browser.

Migrating without pausing new features comes at a price. During the transition, the apps contain two navigation systems and two networking layers. Every exchange between the old code and the new one goes through a bridge that has to work in three programming languages. Zalando notes that these bridges often took longer than expected. They will disappear with the standalone React Native app, which is under construction.

Fixes in a few days

Zalando puts over-the-air updates first among its reasons. In a React Native app, almost everything the customer sees and touches is written in JavaScript. That part can be replaced without a new version in the app stores. The update downloads in the background and applies at the next launch.

How long a fix takes to reach customers

The JavaScript part of a React Native app can be replaced without going back through the app stores.

New version in the app stores

  1. Release cut-off
  2. Review by Apple and Google
  3. Phased rollout, over 7 days on iOS and about 4 on Android

About three weeks to reach most customers

Over-the-air update

  1. Background download
  2. Applied at the next launch

A few days for most up-to-date devices

One update every one to two weeks, with the aim of moving to every three days.

Safeguards

  • Every update is signed
  • Staged rollout that can be stopped
  • Fallback to the last working version on failure
  • Only for screens covered by automated tests

The native part of the app still goes through the stores, for example when it uses a new phone capability. Zalando built and hosts its own update infrastructure. A smaller app has the same mechanism with EAS Update, Expo's service. It calls for the same discipline of automated tests and staged rollouts.

Agents write fast, review remains

Zalando reconsidered its choice in light of AI coding agents. Its conclusion concerns what follows the writing of code. Every version has to be reviewed, tested and maintained. Agents also work from instructions, tools and documentation specific to each architecture, and three architectures mean three sets to keep up to date.

One specification, how many versions to maintain?

Agents write each version quickly. Review and upkeep still multiply with the number of codebases.

One specification, how many versions to maintain?One shared codebaseOne codebase per platformiOS · Android · Web
Implementation1 version3 versions
Tests1 version3 versions
Review1 version3 versions
Instructions and documentation for agents1 version3 versions
Analytics event definitions1 version3 versions

Analytics shows what is at stake. When each platform implements its own tracking, the same customer action ends up producing slightly different data, and analysts spend time reconciling it. With one codebase, each screen component defines its event once, and figures from iOS, Android and the web compare directly.

Native development keeps its place. App launch, navigation, releases and anything close to the device still need experienced native engineers.

Performance measured against what exists

The native product page had been refined for years by several teams. Its migrated version was first flagged as slow by technical monitoring and customer feedback. The causes were rarely in the page itself.

Where the product page was losing time

Every migrated screen was compared with its native version through A/B tests.

Shared tools

  • Technical tracing briefly blocked the screen on every measurement
  • Analytics events and data requests were sent uncompressed

Technical tracing cost per screen

Android
Before 6 msAfter 0.5 ms
iOS
Before 3 msAfter 0.04 ms

Gaps with the native screen

  • Changing colour opened a new page, the native screen updated in place
  • Closed screens kept their memory

Rendering engine

  • Pausing and resuming data subscriptions on the product page about 35 times faster
  • Loading one language reduced JavaScript startup time on Android by 30 to 40%

React Native product page before and after optimisation (90th-percentile render time)

  • iOSabout 10% less time
  • Androidabout 36% less time

None of these slowdowns was specific to React Native. They surfaced because every migrated screen was measured against its native version, on the same journeys. Zalando concludes that the platform itself should watch performance, with automatic measurements on every screen and an alert as soon as a change slows rendering down.

What this means for your app

Zalando has about a hundred screens per platform, several teams and an in-house framework. An SME will not replicate that organisation, but the arguments carry over.

  • The same behaviour everywhere. When customers should find the same features and rules on every platform, one codebase removes the gaps at the source.
  • Faster fixes. Over-the-air updates shorten the time between finding a problem and fixing it for users.
  • Comparable data. A single definition of each event gives consistent figures across platforms.
  • A gradual migration. An existing native app can move to React Native screen by screen, provided you budget for the bridges and compare each screen with the old one.

Shopify and Zalando start from the same observation about agents and make different choices. The right choice depends on the team that will maintain the app, the number of platforms to serve and how fast the product evolves. If you are weighing the options for your app, get in touch. We compare them on your user journeys, your devices and your upkeep budget.

Sources and references

3 sources
Zalando Engineering · shopify.engineering · docs.expo.dev
  1. Zalando EngineeringSimon Percic, Why We're Doubling Down on One Codebase: Zalando's Mobile Apps on React Native, 30 November 2026. About 100 screens per platform. Gains measured on the React Native product page before and after optimisation, from the start of loading to the first render of the product gallery. Zalando does not report the sample size.engineering.zalando.com
  2. shopify.engineeringShopify Engineering, Back to native, September 2026. Announcement of Shopify's return to Swift and Kotlin.shopify.engineering
  3. docs.expo.devExpo, EAS Update documentation, accessed 1 December 2026.docs.expo.dev

Related Services

Back to blogGaspard Chevassus · CEO, Appik Studio