Live data from Hacker News

New Architecture is here

reactnative.dev

41–50 of 127 posts

Re: New Architecture is here

#41
post #12

Earlier quoted context omitted.

that's an interesting perspective, curious to what your reasons are for avoiding expo in production?

Last time I played around with React Native was probably around when it first launched, there was no Expo then, and I haven't used React Native since so I don't even know what Expo is. But another commentator wrote "yet another SaaS with questionable payment tiers" about Expo ( https://news.ycombinator.com/item?id=41937886 ) which makes me already not want to use it if I ever touch React Native again. Not sure why a…

You don't have to use Expo's SaaS to use Expo. Expo framework is 100% FOSS. However Expo Application Services is a really great SaaS product for doing things like cloud builds and Over-The-Air updates.

The anti expo sentiment is almost all based on the old days where you had to eject to use native dependencies. Expo is amazing now.

Re: New Architecture is here

#42
post #16
post #11

Earlier quoted context omitted.

Premature by 17+ years? He was and remains completely wrong.

No? Most modern apps these days _are_ just web apps. Why does it need the overhead architecture of running full standalone applications when a web clip works just as well? Plus there's no need for updating. The problem at the time was multifaceted. The devices couldn't handle it, the network couldn't handle it, and webkit was still relatively limited. But it did work. https://9to5mac.com/2021/06/03/remembering-apples…

Most modern apps are just services. If you don’t mind you computer being a thin client to someone’s computer on the internet, go ahead. But the rest of us do use native software because the web is just a pale imitation.

Re: New Architecture is here

#43

Earlier quoted context omitted.

Thank you! Slightly off topic but every time new Xcode versions happen or as a result of time passing I always seem to get a messed up/corrupted Xcode project and so I end up copying the src folder and create a new project usually with an updated React Native version. This can be a real pain to be honest, taking sometimes a day or two of messing around with package version compatibility hell. Is there a plan to fix t…

Yeah this is a tricky problem, and it's one of the reasons we updated our recommendation to use a framework like Expo that can make upgrades be smoother by being more opinionated about the setup. As the core library, we need to support all the different ways React Native can be added to an app (from fully react native to adding react native to an existing app) and all the different build tools an existing app may use…

Maybe I can un-eject given the plugins system from Expo. I do not like the way they throw all your code around though and I think this ability to steal peoples work given the prevalence of LLMs to unobsfuscate code is problematic. You should consider providing a way to drop the bundle in in byte code or something too... while I'm writing out my laundry list of issues ;-)

Seriously, thanks for all your (and team's) hard work, I look forward to all my packages being on the new architecture and upgrading!

Re: New Architecture is here

#44

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…

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.

Re: New Architecture is here

#45

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…

Congratulations! You've described the universal experience of using cross-platform frameworks.

They can be great as long as you and your customers stay on their most well-trodden path. But as these frameworks grow and become more byzantine, and as your project requirements start reaching for more rarified features and your customers start using new and differing runtime platforms, maintenance overhead starts to dominate and you find yourself running into invisible walls that make it hard for you to deliver on your project roadmap or satisfy the support standards you want for your customers.

This has always been the case for these frameworks, going back many decades, but especially since the explosion of efforts to build them around web stacks, which are easier for developers to use but harder for framework designers to keep sufficiently robust and capable as they age.

Re: New Architecture is here

#46
post #27
post #22

Earlier quoted context omitted.

If that's the case, then why does nearly every company have a native app in addition to their website? Surely, they could save a lot of time and money by just not building and maintaining the app.

Because it's a pain in the ass to distribute. And there's not much for support integrated into mobile operating systems for seamless browser windows. MacOS is getting there kind of lately with safari being able to turn web pages into apps. But there isn't really built in mechanisms for that: https://www.macrumors.com/2023/06/14/how-web-apps-work-macos...

Web apps will always on paper be slower (not including badly made applications on both) than native apps, and also bring in additional security issues (since code is loaded remotely) than native applications.

Re: New Architecture is here

#47

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…

Reddit does a lot better of job bringing good relevant comments to the top.

I strongly disagree, Reddit brings the most engaging comment to the top, which is usually funny or ironic, but rarely informative.

Congrats on being the person comparing HN to Reddit.

Re: New Architecture is here

#48
post #35

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…

You forget: 1 person complaining about the amount of JavaScript loaded just to display this one article

Should we also complain at the amount of bootstrapping your OS had to do before your browser could show said site?

Re: New Architecture is here

#49

Earlier quoted context omitted.

And you are complaining about the complaining. Great work. EDIT: I’ve added to the problem which is ironic and just missed the delete button.

That's literally point #5 of my comment. Didn't you read it?

Congrats. You added nothing to the discussion.

Re: New Architecture is here

#50

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

It's a very basic, indie hacker, habit tracker app, if Capacitor wouldn't "just work" for that, that would be really bad.

Most mobile apps (at least the ones that get you paid), though, are different, usually need good quality integration with native APIs, keyboard, etc...

Post reply on HN