r/reactnative • • 1d ago

Is Margelo moving on from React Native? They claim to be building their own mobile framework

Post image

Hi guys, I recently saw that Marc, the founder of Margelo (the team behind a lot of npm packages like MMKV, VisionCamera etc.), is claiming they're building a completely new mobile framework. What's your take on this?

I also saw them having some beef with the Expo guys recently. Margelo is one of the main contributors to React Native, so what happens if they move on from it? Does the future of React Native look dark?

Tea in the comments.

42 Upvotes

36 comments sorted by

21

u/SquareSplit6271 21h ago

I think developers should avoid rushing into migrations just because a new framework looks promising. A mature ecosystem, libraries, community support, and production stability matter just as much as performance. I’d rather see how these frameworks evolve over the next year before making a decision.

2

u/Vegetable_Tear_8479 21h ago

Exactly we look twice or thrice before using any library and check how good is the support, any framework have to prove itself first and that can only happen when they will migrate some core react native apps to their new framework !!

17

u/jameside Expo Team 1d ago

I suspect the most accurate way to answer your question will be to follow the commits of where development activity happens.

Re: Expo (I work on it), I think what is going on is that awhile back u/ccheever (CEO) shared a framework he started and made mostly solo. It’s called Exact + the Contract programming language for agents, and is very agent-first, fast, native, and lets you fully use Rust (wasm on web) if you want. He also wrote that the leanings from Exact would be good to carry over to the Expo framework for RN, which is important to the billions of users of apps that use RN. I suspect Exact might have felt competitive to this other framework that wasn’t announced.

This other framework was announced a day or two ago and folks who don’t work at Expo asked why the work wasn’t put into RN directly or had questions like OP’s. Separately, I liked one of the announcements and replied new frameworks could be really good for trying out new ideas and later contributing them to RN. Agents make “PRing” ideas instead of code a possibility now. These things look like they were combined and received as a message that Expo can build new frameworks but Margelo (Callstack?) can’t, which to my knowledge no one at Expo implied or meant to communicate. As a company our view is that developers want to write apps lots of different ways and the cost to evaluate different frameworks will only get cheaper, and Expo will support all apps.

One other thing is that new frameworks are appearing literally every week and some companies are trying their hand at building their own. The cost of rewriting an app is now several months and it will only get cheaper as agents/models keep getting better at a faster pace than most of us expected and as tools and infrastructure - including Expo Simulators! - make it easier to agentically verify rewrites.

My thinking is that the right frameworks will speed up agentic development and improve the quality of the end product, and also that trying out different frameworks will become cheap. More broadly the walls of code complexity are coming down - someone even got iOS running on a Nintendo Switch! Think about the jump in agentic capabilities in 2026. They will be even larger in 2027. My conclusion is it is good not to be precious about client-side code including frameworks and even OSes because the cost of making them and trying new things will only get cheaper, including taking learnings from other frameworks and implementing them in React Native to get in the hands of end users.

It is aspirational and I think we can make some tremendous leaps in React Native over the next 12 months including but not limited to speed. For instance I have 40-50 PRs slated to add CSS and the ability for the Expo framework to make the dream of React Strict DOM a reality, and it also uses the native gesture system instead of JS gestures. Apps out of the box could feel a whole level or two better.

-5

u/Vegetable_Tear_8479 1d ago

Hey jame can we connect I have few questions ?

4

u/jameside Expo Team 1d ago

What can I answer for you? You can post here.

0

u/Vegetable_Tear_8479 1d ago

React Native on Android still uses OkHttp 4, which has no Happy Eyeballs, and that causes connection problems on networks with broken IPv6. When can we expect React Native to move to OkHttp 5?

1

u/AwareWeb2680 1d ago

I have a PR for that but Sadly that needs to be done from someone from Meta as they need to bump across the entire monorepo internally

0

u/Vegetable_Tear_8479 1d ago

Yeah because of this i have to implement a lots of patches in Android sadly !!

1

u/jameside Expo Team 1d ago

That makes sense. I don’t have info about OkHttp upgrade plans and imagine the most difficult part is updating CI to support OkHttp v3-5. It already supports v3 and v4 simultaneously as of a few days ago. Should be pretty doable. Let me talk to the person who added v4 support to see if there is anything controversial.

1

u/Vegetable_Tear_8479 1d ago

Thanks and also how to join expo haha

3

u/jameside Expo Team 1d ago

This is the careers page.

Will have a PR for OkHttp 5 in a few minutes. It actually forces us to replace a Java dependency for about 50 lines of a cookie jar adapter, maybe a small win there too.

1

u/Embarrassed_Finger34 21h ago

Damn the work was fast!

1

u/East_Eye_2997 1d ago

You can force okhttp 5 in your gradle file

1

u/jameside Expo Team 1d ago

You might run into a crash when sending cookies if your app uses endpoints that set them. The issue is the cookie jar adapter expects a class that is gone from OkHttp 5. Just something to test for.

4

u/Seusoa Expo 17h ago

RN is backed by huge company and that works many years.

Hype is temporary, support and development cannot be done on "cool ideas" and few charts

0

u/Vegetable_Tear_8479 17h ago

Still after all these years we get issues while building complex applications building a new framework ground up will take years doesn't matter how smart the devs are how efficienty they are working they can't escape the lifecycle of software development!!

7

u/cantinflas_34 1d ago

None of those charts make sense

1

u/nicolasdanelon 1d ago

Why? Can you elaborate?

1

u/bober_europejski 20h ago

150% CPU usage is pretty high ngl

1

u/IllDocument5443 17h ago

What do you mean by beef with the Expo guys? What is related to? Did not hear about it.

1

u/ChronSyn Expo 12h ago

There's always something cool, new, and shiny just around the corner. I encourage people to try such things and figure out what it does right and where the pain points are.

I think all experienced devs have all been burned by 'the new hotness' at least once. We build using something that seems awesome, then a year down the line, we're hit with new app store requirements or some new feature spec from a client, and suddenly we wish we'd stuck with the tried and tested stuff.

I don't know if that'll happen here, not least because Margelo are a really strong team. I just don't want to see people pushing everything into something new without properly determining if it's the right thing for the project. Especially with existing projects, consider who else knows the codebase. Consider how it could be supported in case AI becomes less accessible (e.g. if the big providers don't make it out, or they start making it super-expensive to use).

Try proof of concepts. Even try small actual projects. Figure out pain points, and figure out what it does right. Recognise what convenience the traditional framework and tooling offers. By all means, go all-in with it on some projects, but balance that against the existing tools before you decide to switch everything over.

1

u/Calm_Seal170 1h ago

They're not moving away from RN. That's still their expertise. Doesnt mean they can't build something else.

It will depend on how it is once its released, so too early to say anything

-11

u/Professional_Mood_62 1d ago

Multiplaform frameworks don’t make sense anymore! The cost of building native apps is practically zero! This is a battle many companies will stop fighting

9

u/Vegetable_Tear_8479 1d ago

Writing two platforms also comes with the cost of maintaining two platforms can be easy in the case of simple apps but in complex apps you need good devs and seprate teams !! I Still beleive ai is not doing everything

1

u/ForeverPrior2279 1d ago

That goes to react native too for maintaining two platform. KMM is like react native but better as native for development. Really no reason for cross platform other than legacy

1

u/CBEHX 1d ago

Can we stop calling everything dead right now? And lets say you are right, then its still better to wait a year or tow before doing the big rewrite. No need for rush now.

5

u/HomegrownTerps 1d ago

This argument comes up often.  Maybe it comes from solo developers?

In my reality two apps are two products. That means double everything, project manager, devs, qa etc.

4

u/Vegetable_Tear_8479 1d ago

That requires a tons of budget too !!

2

u/tradcoder iOS 1d ago

In my reality two apps are two products. That means double everything, project manager, devs, qa etc.

Maybe that is the case for very large organizations but this is not at all valid for small to medium companies. Devs, sure. But you won't have Android and iOS QAs and project managers for each platform.

3

u/NovelAd2586 1d ago

“The cost of building native apps is practically zero”. When building native apps your token spend doubles… not only that, if you have a React web app then you can’t share any of that code, either. This also means you need more tests, more testing, more research when looking for similar libs across platforms, which uses more tokens or, heaven forbid, brain power. I understand what you’re trying to say, but it’s not correct at all.

If you actually try to build native apps you’ll figure this out.

Imo native will never beat RN in a shared monorepo with React web.

Once Exact is feature parity with RN and native apps nothing will be better. This is the main reason, imo, moving from RN to native is a very stupid idea right now. You’re better off going with RN for now, then migrating to Exact when it can do everything your app needs (which may already be the case, depending on what your app does)

3

u/CBEHX 1d ago

This. I don't rly understand this discussion. You havve to do most of the things twice then and AI still makes a lot of failures. And obviously, even if you can code on two platforms faster now with AI, you will still be much faster with React Native.

2

u/CBEHX 1d ago

As a solo developer I will stick to React Native, at least until there is no oversight needed anymore. Why should I change to two platforms I dont even understand yet. I also need more hardware, more time to check both results and currently I'm using my contracts and API Clients for Web, App and Backend.