Live data from Hacker News

New Architecture is here

reactnative.dev

11–20 of 127 posts

Re: New Architecture is here

#11
post #9
post #5

I've used React Native quite a bit in the past and I gotta say I wish it didn't have to exist at all. It's often times fine on iOS and then incredibly slow on Android. Hermes is very exciting but still requires many polyfills to make simple NPM packages work. I hope one day, the web (and embedding web apps on mobile) makes React Native fully obsolete.

Who would've thought steve jobs was right (although premature) with the initial iPhones only having web apps. That's interesting though, I would've expected iOS to be slower with android largely leveraging chrome because Google.

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

Re: New Architecture is here

#12
post #6

Earlier quoted context omitted.

Been working on one RN project Expo-free since 0.6x. It's really not needed at all, neither is it complicated to set up without Expo. I've only used Expo during hackathons and university to quickly get something running, but for actual production apps it's should be avoided imo.

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 SaaS would be involved at all in this process.

Re: New Architecture is here

#13
post #5

I've used React Native quite a bit in the past and I gotta say I wish it didn't have to exist at all. It's often times fine on iOS and then incredibly slow on Android. Hermes is very exciting but still requires many polyfills to make simple NPM packages work. I hope one day, the web (and embedding web apps on mobile) makes React Native fully obsolete.

That doesn't make sense to me at all. When you delegate heavy workloads to native view engines, both rendering and interfacing with native media/sdp will undoubtly be faster. The only issue i can see is if you install a lot of web only npm packages which has to go through the translation layer.

That's not what react native is for. Its for building native applications with a react-like syntax for the views. To me it seems like you used hammer to put in screws, no?

Re: New Architecture is here

#15
I have built a React Native app in the past. Nowadays I would go for Kotlin Multiplatform. It is already the primary language on Android and now it is possible to create native binaries on iOS. With Compose multiplatform it also has the ability to also share UI code with a declarative syntax on multiple platforms.

I think React Native was the go to place in the past but it has been surpassed now.

Re: New Architecture is here

#16
post #11
post #9

Earlier quoted context omitted.

Who would've thought steve jobs was right (although premature) with the initial iPhones only having web apps. That's interesting though, I would've expected iOS to be slower with android largely leveraging chrome because Google.

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-sweet-solu...

Re: New Architecture is here

#17
post #2

Is there any sane way of using RN without locking into the Expo ecosystem? Last I checked it was a nightmare dealing with native dependencies otherwise.

how long ago was the last time you checked?

expo has solved the native dependencies issue, and it's a fantastic way to build an app.

this is one of the few hills i'm willing to die on. expo is great for the RN community.

also you can download my RN expo app here: www.shopcats.app.

Re: New Architecture is here

#18
post #11
post #9

Earlier quoted context omitted.

Who would've thought steve jobs was right (although premature) with the initial iPhones only having web apps. That's interesting though, I would've expected iOS to be slower with android largely leveraging chrome because Google.

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

With all of the APIs _modern_ browsers are exposing these days, web apps are extremely capable and remain the best multi-platform solution.

Re: New Architecture is here

#19
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…

[deleted]

Re: New Architecture is here

#20
post #9
post #5

I've used React Native quite a bit in the past and I gotta say I wish it didn't have to exist at all. It's often times fine on iOS and then incredibly slow on Android. Hermes is very exciting but still requires many polyfills to make simple NPM packages work. I hope one day, the web (and embedding web apps on mobile) makes React Native fully obsolete.

Who would've thought steve jobs was right (although premature) with the initial iPhones only having web apps. That's interesting though, I would've expected iOS to be slower with android largely leveraging chrome because Google.

Reddit is a better place for non technical discussions.
Post reply on HN