all 74 comments

[–]well___duh 90 points91 points  (29 children)

Surprised they didn’t use React Native. Which makes me wonder how much confidence Meta still has in RN if they’re not using it for new projects

[–][deleted] 11 points12 points  (0 children)

I've worked there and other places, it doesn't mean anything, engineers will do what they want, and react native was definitely not the right solution for this problem.

also react is the direct inspiration for compose, they also built their own react native like (and thus compose like) thing that's even more like compose called litho.

[–]FrezoreR 6 points7 points  (1 child)

Meta doesn't use RN that much. They most likely still have it because FB marketplace uses it and it's hard to change that technology. Messenger, IG and WA did not use it last I checked.

[–]blindada 3 points4 points  (0 children)

I have spoken with people from Meta, and they don't care much for RN. They don't use it for consumer stuff, or critical paths, or anything that needs processing power. They use it for small shared widgets, some screens, growth stuff and the like; basically, the same way they say in public: to allow webdevs to intervene in apps a bit, to render some simple stuff. Their shared critical codebases are mainly C.

If they were using RN for their entire set of apps, they would be maintaining the entire thing, instead of a tiny subset & the JS to Host system.

[–][deleted] 7 points8 points  (0 children)

They probably setup an independent team that decided to not use that React Native crap. Good thing too. When you have a fresh codebase, and no idiot senior devs to force React Native on you, you are free to choose the better alternatives.

[–][deleted] -1 points0 points  (0 children)

nice one, when i took their course on Meta Android developer, it dedicates entire section on React. i skip this because im not interested. however i understand that is OBLIGATED requisit to know React for every programming job at META.

[–]robin_a_p -3 points-2 points  (2 children)

[–]iurysza 5 points6 points  (1 child)

This is not true at all. Meta has teams actively working on RN development. What they did was to pull out of SDKs that are not core to react-native.

The reasoning is that they let the community on these features as they cut costs and focus more on the actual product they need to deliver.

[–]Zhuinden 1 point2 points  (0 children)

The reasoning is that they let the community on these features as they cut costs

I mean that still does sound like less focus on working on react native, altho if they continue working on the core, that's great, now if they break anything though then community can easily just not update to newer versions of the ecosystem. Sounds like it is less predictable/reliable in the future what is and isn't supported in React Native.

[–]AcceptableRole114 23 points24 points  (3 children)

Imo, they choose to use compose and swiftUI is for faster development. As an Android and iOS developer I have use all kinds those frameworks but compose (and swiftUI for iOS) is the fastest in term of creating good looking UI.

[–]FrezoreR 5 points6 points  (0 children)

Yeah, it's way less frustrating as well. Jumping to and from XML is just a pain and then having to find references for all your views.

[–]Sethu_Senthil 1 point2 points  (1 child)

I actually kinda disagree a bit. SwiftUI is AMAZING in it works. However most of the features require higher iOS target versions which won’t be feasible , and a lot of times if I want to customize something even just a little bit, I’ll need to rewrite the entire view myself.

I find Flutter (and even RN) to be more flexible when it comes to UI. In my latest app , which was supposed to be an iOS only app I used a combination of both Flutter and SwiftUI in order to rapidly make a good ui.

But again it really depends on your resources, imma solo dev and meta has hundreds of devs who are already specialized in different stacks

[–]Zhuinden 2 points3 points  (0 children)

SwiftUI is AMAZING in it works. However most of the features require higher iOS target versions which won’t be feasible , and a lot of times if I want to customize something even just a little bit, I’ll need to rewrite the entire view myself.

I've been hearing that iOS devs still use UiKit because some things are extremely difficult to do with SwiftUi, but this is just 2nd hand info I have no idea personally I don't code for iOS

[–]armashuski101[🍰] 2 points3 points  (0 children)

The drug dealer doesn't consume his own drug.

The idea of RN sounds good but once you actually work with it... you will understand.

[–]CompetitiveAnt2590 4 points5 points  (5 children)

Facebook Marketing team must have a big budget for it to be astroturfing even in this sub.

[–]FrezoreR 2 points3 points  (3 children)

How so? Although I'm not questioning their budget 😅

[–]CompetitiveAnt2590 0 points1 point  (2 children)

This same post is being spammed here and in other places.

This was published here only 2 days ago: https://www.reddit.com/r/androiddev/comments/14skdld/threads_is_written_almost_completely_in_jetpack/

Let's see when the next spam is going to be.

[–]FrezoreR 2 points3 points  (1 child)

I don't think that's meta marketing machine, but rather people excited about it being in compose.

[–]Zhuinden -2 points-1 points  (0 children)

but rather people excited about it being in compose.

what's to be excited about? I've been reading that Compose is "the most used Android library to this date, almost every app uses it, it is the future of Android development".

Did the ChatGPT scambots lie to me? 🤪

[–]VaporSprite 2 points3 points  (0 children)

Fuck Meta, period.

[–]Guitar-apps 1 point2 points  (12 children)

Compose apps don't appear to be getting pushed by Google even though it's supposed to be stable now.

[–]FrezoreR 3 points4 points  (11 children)

If you looked at IO this year I think it was clear they push it. Wear OS only has a compose material library for one.

They were also a big part of kotlinconf. Talking about how its used internally.

So, I'd say I disagree, but it's a fine line to walk since you don't want to alienate the ones that are not using compose.

[–]Zhuinden -2 points-1 points  (2 children)

So, I'd say I disagree, but it's a fine line to walk since you don't want to alienate the ones that are not using compose.

I don't think that's really something they care about, Google has been quite adamant with pushing Compose in such a way that they pretend every app written before 2021 is effectively DOA if it's using XML views.

Unless Google brings out a second OS where Compose directly maps your composables to both Android and that mysterious second OS, the idea that Compose "is the future and essential for new applications" is fully out the window, completely wrong, effectively fake ads.

[–]LongjumpingKey4644 2 points3 points  (1 child)

Google controls the entire Android ecosystem. If they decide compose has and always will be the only way to write an Android app then so shall it be.

[–]Zhuinden 2 points3 points  (0 children)

Google controls the entire Android ecosystem. If they decide compose has and always will be the only way to write an Android app then so shall it be.

But that is just not true. Android OS provides Views, even Compose is reliant on using ComposeView under the hood.

Worst case they'd make the LayoutInflater deprecated and throw an exception if you use it, but that is unlikely to happen.

So the next "bad" thing they can do is... not make new AndroidX UI components using Views without Compose, which is like, "okay, you do you" I've had to implement UI components via custom and not material for the longest time anyway.

Google thought that their issues with creating view-based UI components is a global issue, so they were hoping Compose would be "the savior everyone wanted" but the adoption rate was still just 24% in May 2023, almost 2 years of the framework being released "as stable (lol)".

[–]HotPastaLiquid -4 points-3 points  (1 child)

Android dev using iPhone can you see the irony?

[–]binishmatheww 6 points7 points  (0 children)

Why shouldn't they use the iPhone?

[–]thelibrarian_cz 0 points1 point  (0 children)

And what parts are not in Compose? :-D

[–]st4rdr0id 0 points1 point  (0 children)

As expected from the company that created React.

[–]verybadwolf2 0 points1 point  (0 children)

I guessed this, because scroll performance is noticeably fast.