That was my thought when I saw the headline and then reading the article confirms this is the inflection point per their own words. Very interesting.
Shopify is moving from React Native back to Swift and Kotlin
111–120 of 963 posts
Re: Shopify is moving from React Native back to Swift and Kotlin
#112Earlier quoted context omitted.
Using cross-platform web technology is absolutely a nuanced engineering decision that is the right one for many businesses. What is categorically bad is bundling a standalone browser runtime for every single service, wasting user’s storage and memory when you could just have a website in a browser. Is there any major browser now that doesn’t support saving websites as apps? Electron is simply a suboptimal and incorre…
That decision is easy: do users leave bad reviews for bundling a few hundred MB of Chromium? Do they leave bad reviews if your app malfunctions due to the system webview behaving differently than the Chromium version you tested with? Forget about saving websites as apps, no one does that. Not sure if it works on Desktop Safari, it certainly doesn't on iOS Safari. Not even persistent storage is offered for PWAs. Apple…
Electron is way bigger than an app needs to be, of course, but those giant apps that you hate, 250MB just for a health tracker? That's not electron being the problem.
Re: Shopify is moving from React Native back to Swift and Kotlin
#113I'm sitting here at my desk overlooking Cordova Street. The street that Apache Cordova is named after. I've seen this debate for almost two decades now. Teams jump on the latest cross-platform framework assuming that it will reduce headcount cost at the expense of having a lowest-common denominator app on each platform. The latter is true but the former is false. What ends up happening is that teams start as 20 iOS e…
Pretty sure I've seen you either at B-Sides or Polyglot... Small world...
Re: Shopify is moving from React Native back to Swift and Kotlin
#114Re: Shopify is moving from React Native back to Swift and Kotlin
#115For a while I've been wondering why people are even bothering with high level languages if you aren't even gonna read the code.
Re: Shopify is moving from React Native back to Swift and Kotlin
#116Re: Shopify is moving from React Native back to Swift and Kotlin
#117Earlier quoted context omitted.
How are you evaluating the Android build if you don’t use Android and you don’t know Kotlin?
You just install it on your phone and use the app. Maintainability concerns are entirely overblown by people who don't use agentic AI to develop large mobile apps, but anyway give their opinion as if they had that experience. I put in a few hundred hours, and I reached the same conclusion as Shopify. With reviews from other models and then a manual QA pass the result is fully usable.
OP says they don't have an android phone...
Re: Shopify is moving from React Native back to Swift and Kotlin
#118I believe this will be overall trend in industry. Dropping React Native and Flutter for native
Re: Shopify is moving from React Native back to Swift and Kotlin
#119We did the same thing - had 90% of it overnight. Then spent a few days in the background tweaking for polish. Our app is smaller, and has about 15-20 screens. I started at about 12:30am by giving codex a goal and it inventoried every screen based on the react native code, then created android and iOS directories, used maestro (I had already set up this tooling for a previous personal app build a few weeks prior), and…
And there's no proprietary IP in your company's app that you don't mind being sucked up into the training data?
They don’t care about your code. There’s more and better data on the public web.
Re: Shopify is moving from React Native back to Swift and Kotlin
#120Earlier quoted context omitted.
So you want to review and maintain code in 3 separate languages? Sounds like a complete waste of tokens with the worst case of just quickly building more technical debt, three times.
It's a lot nicer than having the same logic in 2 languages and trying to keep them in sync – whether doing it by hand or with an LLM. One of the big rules is don't repeat yourself – much of the logic only needs to be written once (except UI)
Kotlin is already multi-platform and can be re-used as the business logic in iOS apps with Swift as the UI and the Android app with a Kotlin UI (Jetpack Compose) or both iOS and Android apps can be written entirely in Kotlin.
That vastly reduces the maintenance and Kotlin is reused across all apps and keeps it at 2 languages at most.
No need to introduce Rust to achieve the same goal.