3 ms·
> you can build apps that are virtually indistinguishable from Swift/Java apps That is a very tall claim to make without any citations. All the cross-platform
by FlyingSnake 10y ago
> you can build apps that are virtually indistinguishable from Swift/Java apps
That is a very tall claim to make without any citations. All the cross-platform toolkits lag behind native swift/java apps by at least some margin, and the claim that JS indistinguishable from swift/Java is highly questionable.
- hobofan 10y agoHow would you distinguish between the two if both are running above 60fps, which RN effortlessly can?
- FlyingSnake 10y ago> which RN effortlessly can* I respect RN and the engineering behind it, however how can it beat the raw, on-metal performance of Swift/Java? I'm not talking about CRUD/TODO list apps like https://li.st https://li.st, but performance critical apps like Spotify etc. Facebooks own apps are written in native code, IIRC. I would love to be proven wrong here, and it would be great if you can provide some sources.
- jamesisaac 10y agoReact Native is primarily aimed at writing cross-platform UI code. When it comes to performance critical code, or integrating heavily with native UIs (eg the media streaming abilities of Spotify) it's perfectly fine to drop down to native code. RN provides an easy way to bridge between the JS and these native components.
- deleted 10y ago[deleted]
- Mayzie 10y ago> Facebooks own apps are written in native code, IIRC. They are written in React Native. See: https://facebook.github.io/react-native/showcase.html https://facebook.github.io/react-native/showcase.html