Live data from Hacker News

New Architecture is here

reactnative.dev

121–127 of 127 posts

Re: New Architecture is here

#121
post #107

I helped write this post, so feel free to ask me anything about the New Architecture!

Please pass along to everyone on RN how much the Bluesky team appreciates your work. We're excited to put the new arch into prod.

Will do, thanks paul big fan of your work

Re: New Architecture is here

#122

I helped write this post, so feel free to ask me anything about the New Architecture!

Where are the performance benchmarks (and comparisons with Flutter)?

I don't know of any Flutter comparisons, but we shared some benchmarks here: https://github.com/reactwg/react-native-new-architecture/dis...

Re: New Architecture is here

#123

I helped write this post, so feel free to ask me anything about the New Architecture!

First off, thanks for all the work! I have a few questions if thats ok: 1. What is the next thing that the team wants to focus on improving? 2. What are the performance differences between the old architecture & new one? 3. What are your thoughts on the fragmented state of rn wrt react-native-web/react-native-windows/react-native-macos? 4. It is quite difficult to know what supports RN vs what relies on react-dom. Is…

That's a lot of questions, thanks for asking! I'll stick to answering the ones related to the new arch.

The next thing is to continue building on this foundation and fix some long standing issues things like scroll perf and text input. A lot of our focus has been on the gradual migration strategy for the new arch, so now we'll have more capacity to work on other things.

For perf differences, we shared some benchmarks here: https://github.com/reactwg/react-native-new-architecture/dis...

But perf alone doesn't really tell the whole story. In raw perf terms, flashing empty content for just one frame is only a few milliseconds, but user is disproportionally impacted by that flicker. The new arch allows us to fix those types of issue in addition to the raw perf wins.

Re: New Architecture is here

#124

Earlier quoted context omitted.

Great, another one. Recently someone else was touting something called avalonia for .net? Then there are older ones that still exist, like Kivy and QT. These folks should be working together on just a few open-source projects :-D. Trying to support every mainstream platform is a huge undertaking and as mentioned in this thread, few succeed, and even fewer over the long term.

I think that's an absolutely reasonable reaction. I can only say that, as someone that primarily works on Android, I'll of course prefer Compose UI since it's technically the "native" solution for me already. And while reading further, keep in mind that my views are going to be biased towards Kotlin and such for that reason, of course. There's also the additional disclaimer that it's still relatively early days, and…

Thanks. Wow, Flutter and JPC coming from the same company make me less likely to use either, haha. Decisions, decisions.

Did much of the JPC team get let go like the Flutter team in the last big round of layoffs?

Re: New Architecture is here

#125

Is Capacitor a viable solution yet? I saw this tweet saying "it just works" for porting a webapp on NextJS: https://x.com/marc_louvion/status/1836023560462360746

I've used it to build a couple of apps for money. It does work and most of the times it seems really easy. However, these were simple apps that fetch data from a server and display it to users. I did use an Admob plugin and that worked quite well.

Re: New Architecture is here

#126

I'm a Flutter dev since 2018 and I am honestly not sure if Flutter or React Native still make sense in 2024 and onwards. When they emerged, the mobile development scene was completely different than today. Today, we have Swift UI and Compose, both are pretty solid. I'm not sure if it's the consensus amongst mobile developers, but I believe that on the mid/long run you will be better off - even if you write things twi…

By Compose, do you mean Jetpack Compose?

Re: New Architecture is here

#127

I'm a Flutter dev since 2018 and I am honestly not sure if Flutter or React Native still make sense in 2024 and onwards. When they emerged, the mobile development scene was completely different than today. Today, we have Swift UI and Compose, both are pretty solid. I'm not sure if it's the consensus amongst mobile developers, but I believe that on the mid/long run you will be better off - even if you write things twi…

By Compose, do you mean Jetpack Compose?

Yes. Compose Multiplatform is just not there yet, and will unfortunately share lot of the downsides of Flutter.
Post reply on HN