Live data from Hacker News

New Architecture is here

reactnative.dev

81–90 of 127 posts

Re: New Architecture is here

#81

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

In my opinion no. Capacitor has the same pitfalls like NativeScript. They're both clunky and lacks proper integration between the native layer and the emulated javascript world.

No matter what framework you roll with, you're gonna hit the same ol' clunky mess—it's just how app development goes.

The trick is, some frameworks smooth over the rough spots and throw a few sweet perks your way, while others give you a taste of both the good and the gritty.

Re: New Architecture is here

#82
This is pretty incredible, kudos to the team! I wonder if there's still an option to call native modules asynchronously (since I'd guess the synchronous native calls block JS execution?)

Also, I remember transferring lots of data through the bridge could be a bottleneck for some use cases. Is that effectively solved with this architecture?

Re: New Architecture is here

#83

Earlier quoted context omitted.

In my opinion no. Capacitor has the same pitfalls like NativeScript. They're both clunky and lacks proper integration between the native layer and the emulated javascript world.

No matter what framework you roll with, you're gonna hit the same ol' clunky mess—it's just how app development goes. The trick is, some frameworks smooth over the rough spots and throw a few sweet perks your way, while others give you a taste of both the good and the gritty.

That is true and neither platform is free from their issues. But NativeScript, Capacitor, Ionic and at last... Cordova. Has each of ther own oddities. NativeScript has a really awesome typing translation of the native apis to typescript. That's honestly the most fantastic to work with of any of all of them. Great for prototyping.

But when it comes to performance. None of them beats RN. You can make some good looking continous animation of most of them (not cordova or ionic). But when it comes to lag when moving between screens, RN on mobile comes on top without doubt.

Re: New Architecture is here

#84

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…

Hmm, what about desktop and/or web?

I don't want to say you should never, under any circumstances, use cross platform tools. Sure, if you have Android, iOS, web, macOS, Linux and Windows apps that are all roughly the same, go ahead and use cross platform technologies.

I don't think most apps are like that, though. If it is worth having a desktop app (instead of just, you know, having a web app), than that app is probably relying heavily on native integration. Also, mobile apps and desktop apps are usually quite different (as they should), those are two completely different interfaces.

About web, I'm not sure about RN, but Flutter IMO is so terrible on web, that it's so rare that it would make sense to use it, that my default advice would be that write the web in something different, even if you use Flutter already on mobile and desktop.

Re: New Architecture is here

#85

At the time of writing this comment, we've got: 1 person talking about how they wish react native didn't exist 1 person asking about Capacitor 1 person complaining about Expo 1 person saying that they wouldn't use react native and recommending Kotlin Multiplatform instead 1 person complaining about the quality of the discussion (Me) 0 people talking about the new architecture I still love Hacker News but the discussi…

>but the discussions are becoming increasingly pointless And hostile. Point out that someone is wrong (even with hard evidence at hand) and people will still try to push their deluded conclusions nonetheless. Same thing for expressing an opinion outside what the hivemind deems acceptable. Btw, I think this phenomenon is a widespread cultural thing, not HN specific. Happens irl so much that it is now almost impossible…

I've seen what you're describing and it worries me deeply.

I think it's a combination of:

1. Ragebait being so useful at generating engagement that it's become a standard form of human interaction

2. The Internet making people feel safe from physical repercussions which makes people feel comfortable with treating others badly

3. Internet communities quickly becoming echo chambers where you're forced to pick a side if you want a sense of belonging

So we've been programmed and manipulated to be angry, to be tribal, and to act without fear of retaliation, and all for what? For ads and followers.

Re: New Architecture is here

#87

I have been working for the past four years exclusively on react-native apps and their backend API, from bootstrap to publishing, adding new features every few months and maintaining the apps. It was a mixed experience. When I migrated to expo two years ago, many problems were solved but not all. But I still encounters bugs and problems with many common dependencies. It is not uncommon to have bugs on certain Android…

> It is not uncommon to have bugs on certain Android brands, with the community on github reporting the bug but waiting months for it to be fixed.

Welcome to Android. That's not just a React Native issue

https://github.com/M66B/FairEmail/blob/master/app/src/main/j...

Re: New Architecture is here

#88

Earlier quoted context omitted.

Hmm, what about desktop and/or web?

I don't want to say you should never, under any circumstances, use cross platform tools. Sure, if you have Android, iOS, web, macOS, Linux and Windows apps that are all roughly the same, go ahead and use cross platform technologies. I don't think most apps are like that, though. If it is worth having a desktop app (instead of just, you know, having a web app), than that app is probably relying heavily on native integ…

Well, I need to make a media-player type of app, that will run on Linux/Wayland devices, which are like small desktops. Mainstream mobile devices would be a nice-to-have too, but there are so many bureaucratic issues, like getting into stores I might just avoid them for now. Web stuff can stay web.

Was thinking of learning Flutter or even RN, but now not so sure. On the other hand, it could mean writing it three times.

Re: New Architecture is here

#89

Earlier quoted context omitted.

Such comments should really be directed at dang who keeps maintaining that there’s no data point to think that the state of discussions are declining. One way to address this might be to compute some relevance metrics using embeddings (they’re the new hotness after all) and downrank low relevance discussions. I assume it’d be especially effective for the “ads and JavaScript” discussions.

>> keeps maintaining that there’s no data point to think that the state of discussions are declining. I would simply say a lot of contrarian viewpoints, regardless of merit, are downvoted into oblivion. Once you get hammered on something you simply had a different viewpoint on? Users tend to stop commenting for fear of reprisals. Your "karma" on here is not easy to obtain so when people downvote you simply for a diff…

> Your "karma" on here is not easy to obtain so when people downvote you simply for a differing opinion, it makes it less likely they will wade into a discussion again and find themselves on the wrong side of some Hacker News diva having a bad day.

Why do fake internet points matter so much? Yes, karma is difficult to attain, but it also does (almost) nothing other than indicate how active a person is here.

> This means you have a lot of people (like myself) simply opting out of a lot of discussions because if you're not on the right side, your comment will get downvoted immediately.

In short, so what? Does it really matter if one thing you said one time gets downvoted? We're all (supposed to be) adults here. All that happens is fewer people read your comment. Big whoop.

Re: New Architecture is here

#90

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…

Hmm, what about desktop and/or web?

Compose UI has the potential answer there, as well: https://www.jetbrains.com/compose-multiplatform/
Post reply on HN