r/reactnative • • 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

67 comments sorted by

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

5

u/Fidodo 1d ago

I wonder how many people actual read their blog post. They went into a lot of detail into all the work involved to set up the tooling and environments needed to get it to work. They also refactored a ton of code and removed a lot of outdated features so it's not even a clean performance comparison.

1

u/TopFix8731 4h ago

Exactly, if they'd spent the same time and money(undisclosed amout for the whole prep, plus 3 months of 30 devs, it was NOT cheap) fixing the codebase, they might have arrived at very close benchmarks.

2

u/agmcleod 1d ago

At my work it was decided at least by the engineers working on the apps, but yeah that does tend to be a problem

2

u/Spiritual-Big-4302 1d ago

yep, same with discord, instead of embracing Tauri they are going to make their developers reinvent the wheel in rust

1

u/East_Eye_2997 1d ago

You either optimize for the developer experience at the cost of the customer experience or vice versa

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.

37

u/FalseRegister 1d ago

They mean "cheap enough to get the benefits of native apps while having to maintain two codebases"

7

u/noodlez 1d ago

Yeah, agreed. And I guess whether it is worth it for small teams really depends on what the small team is trying to achieve.

I personally am still using RN, for the same reasons as I was before.

2

u/ValhirFirstThunder 1d ago

True, but thereare performance tradeoffs you take with RN no? The treaeoff seems to be less in favor of RN if you can manage two codebases with AI a lot easier right? I haven't tried this with native myself to be fair

5

u/_SyRo_ 1d ago

Do we really still have these performance trade-offs?

With JSI, LegendList, Expo Modules, Hermes, UniStyles and etc. Good RN apps feel the same as native apps.

0

u/Ok_Refrigerator_1908 1d ago

These are all Dependencies

3

u/BlurryMadFish iOS & Android 18h ago

Yes, and?

1

u/noodlez 1d ago

Yes, and I mentioned that in my comment

2

u/Apart_Ad126 1d ago

tbh it feels like an excuse for teams that already wanted to go full native anyway.

3

u/Oxigenic 1d ago

Slightly cheaper than 2 codebases for far worse performance and reliability, RN is losing this race.

10

u/matico3 1d ago

Expo makes everything quite easy out of the boz

3

u/noodlez 1d ago

IMO it largely depends on the use case. I've experienced both situations in the post-AI age, and for my own personal ones, I'm going with RN. I don't have performance or reliability issues with what I'm working on. I can certainly imagine situations where full native makes sense though.

1

u/TopFix8731 4h ago

Unless you're making a game, it doesn't matter.

0

u/Niightstalker 1d ago

You are not considering the added work for the abstraction that needs be handled in addition to that single codebase.

Besides all other tradeoffs that have always been there but the speed increase used to legitimate them.

-2

u/East_Eye_2997 1d ago

I don’t think it makes RN any cheaper. You still need a human to test the app on iOS and Android. No different than 2 native code bases

51

u/xgiovio 1d ago

Until they have to fix 2 codes instead of one

17

u/Funwithloops 1d ago

React native let's you invert this problem. You fix a bug that only effects 1 platform and introduce regressions into the other platform.

4

u/Spiritual-Big-4302 1d ago

Blindly pushing code in one framework is already scary, I can't imagine dealing with two different ecosystem at the same time with AI backing it up lol. I don't mind it, companies shooting themselves in the foot let us take more cake.

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.

1

u/jseego 1d ago

Great answer

0

u/thesystemarchitect 1d ago

I’m a startup cto / single developer maintaining our Java backend and both native apps. Maintenance is simple now as long as you have the right skills and workflows configured.

RN had its time, and I loved it for the last 7 years, but the landscape has changed and we need to do an honest assessment about our need to adapt. I’m pragmatic when it comes to implementing new technologies (been writing software since 3rd grade and professionally for 30 years), but it’s my opinion, that due to AI, we will not be coding much longer.

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

1

u/frenzied-berserk 1d ago

You mean somethings like this? - https://github.com/divkit/divkit
It's not that hard to build such things anymore

1

u/Mentalv 1d ago

Not really OTAs but interesting

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.

1

u/East_Eye_2997 1d ago

Completely agree. End of the day it’s me just talking to my agent and testing the output on iOS and Android.

1

u/hooshd 1d ago

In the initial stages though, I've found that Claude/Codex are better at building working user interfaces in RN due to the fast iteration lifecycle. Unless there's something I'm missing in the Swift design process?

(I've been building Swift apps since 2016 but honestly never felt like I had the industry standard toolkit for it)

1

u/Niightstalker 1d ago

What makes the iteration lifecycle faster for you?

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

1

u/Ok_Refrigerator_1908 1d ago

Is capacitor well maintained? What do you use it with React or Angular

1

u/Russ_72days 1d ago

For what I’ve been building lately - mostly games - it’s raw Typescript no frameworks. Such is the power of our AI counterparts!

Those frameworks (which I know and love) were really just there as an abstraction layer to help us humans reason about the code. AI is that new abstraction layer - and remarkably good at it (React/Angular would just get in the way)

And yep, Capacitor seems to be well maintained.

1

u/_gonesurfing_ 19h ago

I’ve found more advanced gl features in web mapping sdks than mobile. For me capacitor is the cross platform solution. Each application is different though.

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:

  • Over the air code updates. You can update quite a bit of your app without going through another code review.
  • UI consistency. Keeping your branding and UI consistent between platforms is a challenge. Sure having an LLM burn through tokens double checking everything when you ship is possible, but so much extra cost for something that's already solved.
  • Sharing Ui and component library with your web app.
  • You get to use React! This paradigm of UI building is revolutionary and quite powerful. Just getting to use it is a pro.

2

u/reddish-rum 1d ago

You make a good point about OTA updates, I’m surprised more people haven’t mentioned it. I run a few RN apps in prod for both iOS and Android, I’ve gone through this thought process a few times recently and genuinely OTA updates is the one feature which I think is stopping me from pulling the trigger. Can’t imagine going back to a DX where we have to put an app through yet another long winded review to tweak something trivial each time.

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.