top | item 41937867

(no title)

matlin | 1 year ago

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.

discuss

order

ARandomerDude|1 year ago

I've had the complete opposite experience. React Native has been amazing for the team I work on. It's fast, quick to develop in, and I've never felt blocked. Camera, TCP sockets, custom Bluetooth protocols, Protobuf, etc. React Native + libraries do it all.

We don't use Expo, either. It's very painless.

martinsnow|1 year ago

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?

DCH3416|1 year ago

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.

pbreit|1 year ago

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

martinsnow|1 year ago

Reddit is a better place for non technical discussions.