Live data from Hacker News

New Architecture is here

reactnative.dev

1–10 of 127 posts

Re: New Architecture is here

#3
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.

Config plugins have made this way easier - you’re now able to hook into the native code generation process to add native modules that aren’t already packaged for expo.

Re: New Architecture is here

#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.

Re: New Architecture is here

#6
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.

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.

Re: New Architecture is here

#7
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.

I love that you asked this question. As someone who has created a few react native applications in the past, non expo environments has felt as an afterthought. I hope the react native team will improve the documentation and encourage the native platform as well as the expo platform. Some of us don't want to be locked into yet another SaaS with questionable payment tiers - when building your own modules and publishing is:

- Easier in the long run

- You're able to ship a far more featureful application if you deal with media and/or VoIP

- Passing apples reviews seem to be faster if you ship the modules yourself in my experience

Re: New Architecture is here

#8
post #6
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.

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?

Re: New Architecture is here

#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.

Post reply on HN