7
u/bdudisnsnsbdhdj 19d ago
Tbh most of these companies switching away from react native -> native have large enough engineering teams I’m a bit surprised they were still on react native to begin with. I’m a react native dev so no shade to it
20
u/kbcool iOS & Android 19d ago
The reasons for RN to exist haven't gone away. In fact they have gotten stronger because of AI.
We are currently collectively going through a phase where we have let the digital equivalent of the intern/junior developers go nuts on our codebases.
Most of us are fully aware of what the consequences will be but we are doing it because of FOMO just in case we are wrong, besides it's cheap to make these mistakes right?!
What really concerns me is that we are going to let a lot of good products and people go to waste before we collectively wake up. There will be a lot of relearning and rebuilding before we learn how to properly wield this new tool
18
u/northernmercury 19d ago edited 19d ago
Sorry but this is a cope.
AI is getting more and more capable every day. Once it's sufficiently capable, there there is no need for abstraction layers. Take this to its logical conclusion, where its ability and speed are essentially limitless, and all libraries are conveniences that ultimately limit flexibility. Every abstraction layer between it and machine code is... questionable. RN is the top abstraction layer, and hence is the first to go. RN's value is greatly diminished by AI, and with every new model, its value becomes less.
5
u/kbcool iOS & Android 19d ago
Anyone who hasn't lived under a rock for the last year knows that what you say can be done.
What people such as yourself don't understand is that there are limitless ways that it can fuck it up and that is why we will be all the poorer for the community oversight that will be gone.
Abstraction layers are a safety blanket because, at least in the past you know someone has probably got your back
2
u/Fabulous_Baker_9935 16d ago
you also have to remember that most applications dont need the performance gains of native code. react native as a single code base is easier for ai to understand and work with (as well as typescript being the natural language of AI).
2
u/TheSpaceSalmon 18d ago
You're delusional if you think RN isn't being increasingly maintained with AI. And it isn't exactly a very stable abstraction layer. The models are so good now that if you have the resources, you should just go fully native and not rely on abstractions you don't need. Much of the RN engine is dead weight as the cost of writing twice goes down and the reward of platform-native development rises.
3
u/kbcool iOS & Android 18d ago edited 18d ago
What's wrong with maintaining it with AI? My argument isn't anti AI at all. People who don't know how to use it and what it's weaknesses are is the problem.
Also you're making the same tired statement about AI getting better yada but not saying why that's a good thing or how it will address the fundamental issues with it which haven't gone away or gotten better
2
u/TheSpaceSalmon 18d ago
Never said you were anti-AI so you're missing the point. RN solved a problem with maintaining 2 separate codebases and allowed web engineers to quickly develop mobile apps. These are 2 problems that are now eradicated by AI. RN is now the bottleneck as we wait for bugs to be fixed upstream. Look at RN macOS and Windows for example -- RN mainteners are simply not interested in maintaining them and are holding back the ecosystem as a whole.
As the mobile team lead in my company, we have collectively agreed as a whole that the direction companies like Shopify and Discord are taking is the right one because of the reasons above. It returns agency into our hands instead of having to adhere to their development cadence. Try replying with something of substance rather than resorting to mud-slinging.
0
u/KabouterKaasplank 17d ago
No offense, but the only one mud-slinging in this argument is you. Both your views have credibility to them. The reality is that nobody knows what the right answer is right now, whether it's sticking with abstraction layers or whether it's tearing them all down up to a level you can still understand. AI's changing the industry too fast. Whatever is the correct answer now can be completely wrong in a month.
2
u/TheSpaceSalmon 17d ago
Did you just dig up a fake account and asked Claude to craft a response?
1
u/KabouterKaasplank 17d ago
Tf are you on about
2
u/TheSpaceSalmon 17d ago
Bro you know exactly what I'm talking about. You think people can't tell when something's written by AI these days? Your reply was a masterclass in saying nothing LOL
→ More replies (0)1
u/Zestyclose-Compote-4 13d ago
And here I am choosing React Native for a vibe coding test project lol.
2
u/FezVrasta 18d ago
I have been working on a project with skip.dev AI written and honestly I don't see a single reason to use React Native if I can get native apps on both platforms using swift
1
u/ddwrt1234 16d ago
Not helped by RNs track record, they innovate incredibly slowly and parity between platforms is a joke.
2
1
17d ago
Right now you could vibe code a fully working discord alternative for you and your friends.
Just need a VPS and domain, then use the Web APIs, WebRTC, etc.
1
u/Tough_Wrangler_6075 2d ago
the point is back then coding is expensive, so that's why we go cross platforms. But now coding is cheap with AI, no different if we write with native or react native in terms of time and capacity. Hence why we're not go with native which has more pros
1
u/Same-Appointment-285 19d ago
Mobile code in rust?
5
u/KangstaG 19d ago
This is not as crazy as you think. C++ is also widely used to create shared multiplatform libraries.
2
-10
u/YVRthrowaway69 19d ago
RN will die because "Claude rebuild my kotlin app in swift make no mistakes" will actually work in one shot soon
5
u/No_Surprise_7118 19d ago
I don't understand the down votes, this seems like the direction things are going. Some shared core with a native implementation for each platform.
5
u/kbcool iOS & Android 19d ago
Try it and see how you go
2
u/Evla03 19d ago
with enough tokens and good enough tests this can already be done
5
u/kbcool iOS & Android 19d ago
And enough human involvement.
It's no different to saying with enough resources we can make it to the next star.
Anything can be done 👍
1
u/Codycody31 19d ago
Rebuilding a React Native app is way easier thsn trying to reach the next star... Just a terrible comparison. Either way for big companies like Discord this is the right route, plus they share actually good code. RN solves having to work across two different platform teams, but with the assistance of AI it's now way easier
2
u/No_Surprise_7118 18d ago
But this is how it was done before, RN? Its just much more feasible now because of AI.
3
u/mexicocitibluez 19d ago
The downvotes are because this currently isn't a thing and even when it is a thing, it only solves the first commit. Keeping feature parity across codebases in different languages might seem like something AI should be good at, but the more I use LLMs the more I run into instances in which on paper they should be able to do, but end up falling short. I use the shit out of them, but as of today, maintaining a large, non-trivial codebase via solely agent work isn't scalable. The human in the loop is still real.
LLMs work well when you know what you're doing. But still tend to over-abstract and make assumptions. I'd imagine the amount of assumptions you'd have to weed it is exponentially larger across different codebases than in a single cohesive one.
Discord can do it because they probably have people on staff that have native mobile experience or can hire to fill that role. But if you're not Discord and don't hvae a fleet of developers at your fingertips, I can't imagine it's going to go to well.
1
u/YVRthrowaway69 19d ago
The models are getting better and better and better and it won't stop until we won't even need frameworks anymore, sure RN will be fine in the interim, but it will stop being maintained within 5 years so may as well just start learning the native languages
2
u/mexicocitibluez 19d ago
but it will stop being maintained within 5 years
If you think you can predict what anything will look like in 5 years I can't help but think you're new to this field.
1
u/YVRthrowaway69 18d ago
RemindMe! 5 years
1
u/RemindMeBot 18d ago edited 18d ago
I will be messaging you in 5 years on 2031-11-06 02:05:12 UTC to remind you of this link
1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
RemindMeBot is switching to username summons. Instead of
!RemindMe 1 day, useu/RemindMeBot 1 day. More info.
Info Custom Your Reminders Feedback
-24
u/Romu1us1408 20d ago
Still too much ram
0
20d ago
[deleted]
9
u/skt84 19d ago
We can’t afford more than that!
But yeah complaining that 290MB of memory usage is still too high is some next-level entitlement.
4
u/IM_INSANEDUCK 19d ago
If it is rust then 290mb ram is alot. If it is electron app the. Even 1gb is very optimized
64
u/incrediblepony 19d ago
Oorrrr... You could go back to self-hosting a Teamspeak server on an old laptop and uninstall the spyware that is called 'Discord'?
Anyway... React Native is still great.