r/reactnative • u/SnooPineapples687 • 1d ago
Big companies are dropping React Native, saying AI makes 2 native codebases cheap. Is it worth it for small teams?
I mean like still humans have to review, test and fix everything twice.
Expo UI now gives real SwiftUI/Compose. Why not share most code and go native only where needed?
RN devs, does this change anything for you?
84
Upvotes
37
u/HoratioWobble 1d ago
it's not worth it for big teams mostly either. The people who do the work aren't the people making the decisions.
Shopfiy decided it because it made sense for them, now other businesses are doing it to be "thought leaders" and "ahead of the agentic curve" it's always the same in this stupid industry
153
u/noodlez 1d ago
If AI makes two native codebases cheap, it makes one codebase on RN even cheaper. There's a value judgment on true native being a superior experience that companies are willing to take the bet on. Which is fine, they can do that, its true that two native codebases and AI is cheaper than one RN codebase without AI. But its also a somewhat disingenuous framing - RN using AI is the cheapest/easiest to manage.
51
u/xgiovio 1d ago
Until they have to fix 2 codes instead of one
18
u/Ok_Slide4905 1d ago
“Lol good luck with that”
26
u/MobileXapps 1d ago
AI makes writing the second codebase cheaper, it doesn't make owning it cheaper. The cost of two native apps was never mostly typing. It's two review queues, two sets of release bugs, and features quietly drifting apart because one platform got the fix and the other didn't. We've shipped a lot of App Store and Play builds over the years, and the drift is what bites small teams, not build time.
For a small team I'd stay on RN/Expo and drop to native only where the platform matters: widgets, background work, camera, payment edge cases. Big companies can afford two teams with their own roadmaps. A five person team usually can't keep two apps in sync even if the code writes itself.
8
u/Pundamonium97 1d ago
I think having two native codebases is more feasible than it used to be
But I don't see it being worth the effort to swap to
And react native still has some things worth taking advantage of, like expo/eas updates for hotfixes that bypass the apple and android review slog are a huge one for me
I also think in the age of ai the biggest bottleneck is code review and no matter how you slice it reviewing two sets of code in two languages will always be slower than reviewing one set of code in one language, if you're doing a half decent review
I haven't had an issue writing bridge code to take advantage of native benefits when needed either
8
u/Mentalv 1d ago
Call me when native offers OTAs
5
u/Substantial-Swan7065 1d ago
Some need it. Most don’t
8
u/jpbarbosa77 1d ago
TL;DR; React Native does not make sense anymore in 2026 with AI code assistance.
I worked with React Native for almost a decade. As my focus was on TypeScript and React, and I couldn’t afford investing time on learning Swift and Kotlin, React Native was the natural choice.
This year things changed, as I started developing a new React Native app, I keep feeling that the performance, bundle size would never match the truly native alternatives. That eternal version 0.8x and Hermes performance regressions across the year didn’t help.
I’ve just asked Claude to rebuild the entire app in Swift and Kotlin. So far, after almost 6 months maintaining the app, whenever I need to update things, build or deploy, the process goes quicker and smoother than before. It feels like that all the abstraction React Native and its tooling add to the stack, bring more friction than gain.
I really appreciate the React Native project, but the scenario changed.
4
u/Russ_72days 1d ago
So many consumer apps don’t need to rely on any cutting edge native phone features whatsoever (that’s just what phone companies want us to believe so they can sell us new handset every 12 months)
Bizarrely I’m finding myself starting to go the other way - from react-native to Capacitor such is AI’s ability to bring the most out of a “simple” web experience (in terms of it feeling really slick and having the micro animations and UX that users actually notice)
Controversial huh
4
u/konbit 1d ago
There have always been many different pros and cons for using React Native, and having a single codebase is only one pro. Here's a few more:
2
u/treetimes 1d ago
The big companies have their own reasons and they CERTAINLY aren’t always technically driven. I would not look to Shopify’s decision as the absolutr best engineering choice. The will to throw buckets of money at “new” does not make them correct, nor was react native or native itself ever inherently incorrect for a given project. It’s strictly up to whomever decides how you want to spend your time.
Hot reloading alone was reason enough not to go to native lol. Their decision was also heavily biased by old architecture Android performance fwiw.
2
u/NovelAd2586 1d ago
Honestly it’s a terrible idea imo, especially if you have a react web app and a shared monorepo.
The only thing I’ll move to in the future is Expo Exact, and I’ll have one codebase for everything: Android, iOS, Web and Desktop etc
2
u/Classic_Chemical_237 1d ago
Absolutely stupid. AI made React Native easier, removed all barriers, and actually amplified RN’s benefits.
First, the benefits (if you architect it correctly): it’s not about mobile apps. React Native’s major advantage is to have an integrated team of web plus apps.
Why? The biggest issue with different tech is logic drift. Different languages and frameworks have different reactive data models. So, it’s natural to take different approaches. KVO is different from Combine, different from Live Data, different from Compose. You will get different definitions of VM on different platforms. So each time will work in silo.
And naturally, there will be different understanding and architecture. One day, suddenly you realize that something takes 2 days on one platform will require a complete re-architecture on another platform.
So you will get different velocity on different apps. Guess what, you cannot realize until all platforms are in parity.
AI or not AI, this will happen. Given how bad AI is on architecture, it will happen more.
The right approach is to share as much code as possible. Not just between native apps, but also between web and apps. Put network and business logic into libraries. Put design system into libraries. Suddenly, UI is just a thin layer which only handles rendering.
AI removed all the difficulties (mostly in setup) to take this approach.
Now, imagine you see a bug. With the above approach, first question is what platforms is this bug on. If it happens on all platforms, it’s a bug in business logic layer. If it’s a bug on iOS and Android, it’s a bug in React Native. If it’s a bug on iOS, it’s a bug in iOS bridging code. See how easy it is to narrow it down?
With native code? Good luck.
BTW, React Native also supports macOS and Windows. Easy.
And I am saying this as a native developer since 2008, and have never touched React Native until this year. I still have native apps which it’s too closely tied to native SDK (camera related), but for business apps, there is no way I would choose native over React Native.
2
u/ozgur_builds 1d ago
solo dev here with one expo app on the app store. i seriously looked at rewriting it in swift a couple of weeks ago and decided not to.
the parts that actually need native in my app (alarms, healthkit, widgets) are small swift modules anyway, the rest is screens and logic that work fine in RN. a rewrite would have cost me weeks for nothing users would notice, and android later stays pretty cheap with expo.
"AI makes two codebases cheap" is mostly true for writing the code. testing and releasing it twice is still the expensive part, and for a small team that's most of the work
2
u/TopFix8731 4h ago
Those are all marketing stunts from decision makers that have stakes in the AI bubble.
From a eng perspective it makes no sense.
1
u/ajmalhsan0197 1d ago
My past two projects from two different client were native apps before the client converted them to React Native, and I have worked on them for 3 years. These popular apps have a massive user base. Nevertheless, a single codebase remains easier to maintain if you design the architecture properly.
1
u/CantaloupeCamper 1d ago
Do it and let us know.
1
u/mindtaker_linux 1d ago
If you had to ask , then you're doomed
1
u/IsuruKusumal 1d ago
The benefit of having 2 seperate apps is not only the fact they are native, but also the fact they introduce less layers
1
u/Zestyclose-Compote-4 1d ago
I'm rather new to mobile development but I chose react native + expo because it just sounded easier than maintaining two codebases. Even with AI, that's still a lot of quality control to cover, as well as tokens to spend doing it. I just got my web first app exported to Android very few issues. I don't see the big deal.
1
u/yas_indie_dev 1d ago
I'd compare one complete feature rather than how quickly AI generates a screen. Pick something like taking a photo, handling denied permissions, saving it, and reopening it after an app restart. Then count the review and device-testing work on both platforms.
For a small team, I'd want a specific problem with the current RN app before committing to a rewrite. Shared code still needs testing on both OSes, but a rewrite also needs evidence that the native versions solve that problem.
1
u/JuriJurka 1d ago
shopify got thousands of engineers and has an unlimited supply of money
it makes no sense to get 99% performance with RN if you can get 100% with native as well by throwing around some money
that’s how they think
so don’t mind the stupid decisions
1
u/Avansay 1d ago
So you still expect devs to own the code they ship? if so can that models work for you?
1
u/SingleCar3361 1d ago
As a solo dev, the only blocker for me before going native is OTA updates. That has been my biggest weapon
1
u/sisoje_bre 1d ago
shopify just used AI as an excuse to go back to native because the switch to RN was a mistake
1
u/Alvee05 1d ago
Big part of RN for us is that it allows our web devs to flex between web and mobile.
If you never read the code then I suppose it doesn’t matter… I still see that as a terrible development practice.
1
u/Haunting_Economy6431 1d ago
TBH for big companies its more work to review and to make sure all security aspects too of course AI gives boost on code writing but it increase the review work compared to single code base
1
u/Charming-Rate278 1d ago
Depends on your app. For the one I work on it wouldn't matter, rn is good enough.
1
u/Civil_Rent4208 1d ago
You guys will be surprised that due to AI, react native is getting more nearer to the native. It is not worth in maintaining the two codebases even with AI.
1
u/Sad-Maintenance1203 12h ago
We are a small team and have four RN apps. Last week I had to build a stt app with oss models and opted for Kotlin and swift. I was pleasantly shocked at the E2E testing claude did all by itself with a device connected in dev mode. I was watching it the entire time and now I'm tempted to use this set up for the apps in the future.
I have not used Claude for E2E testing of expo apps and I am not sure how automated it is. Not getting tied to expo for builds is another cherry on top at this point. Fingers crossed.
1
u/thesystemarchitect 1d ago
It’s not just big companies. As a CTO of a startup, I made the same decision and it was easy. Simplicity and dependency reduction is key to performance and security. I’m not interested in Expo going down, waiting for their team to fix bugs, or not being able to implement native UI in a consistent way.
You always have to test both platforms so that’s not a concern of mine. And the most infuriating thing has always been fighting layout issues in RN when I used to be able for fix them natively.
It’s probably an unpopular opinion in this group, but additional layers of complexity, like RN/Expo are completely unnecessary now.
The cost of software is trending to zero so it is better to prepare for that than to ignore it and wonder why we’re all out of work in six months. Move higher up the stack, become an expert at UX, etc.