Interestingly, they seem to be using JavaScriptCore instead of V8 as their JavaScript interpreter: https://github.com/facebook/react-native/blob/42eb5464fd8a65...
We designed React Native to run with any JS engine: jsc, v8, (wk)webview, inside of Chrome/Safari/Firefox, inside of Node, ... We released it with JSC today mostly for convenience: we had JSC setup from iOS and it works. But we're open to ship with a different engine if there are performance benefits.
React Native for Android
41–50 of 248 posts
Re: React Native for Android
#42"Today, we're happy to release React Native for Android." https://github.com/facebook/react-native/commit/42eb5464fd8a... This comes in time for Facebook to meet its pledge. http://www.reactnativeandroid.com/
Re: React Native for Android
#43Earlier quoted context omitted.
Why aren't Apple and Google making it this easy to develop apps? Apple has no incentive to make it easier for app developers to port their code to other platforms.
But it does have incentive for app developers on other platforms to port code to their own platform.
Why Google hasn't done this, I don't know. Seems like it is in their best interest and something they're already doing internally. They use the shared web/Android/iOS code concept for Inbox (but not HTML/JS)[1] and probably other projects.
[1] http://arstechnica.com/information-technology/2014/11/how-go...
Re: React Native for Android
#44Re: React Native for Android
#45The general feeling on HN is that it is better to focus on Native development on both platforms because Cordova hybrid apps have a overall bad user experience. Is this still the case with React Native or is it becoming the most effective option?
Re: React Native for Android
#46Earlier quoted context omitted.
Why aren't Apple and Google making it this easy to develop apps? Apple has no incentive to make it easier for app developers to port their code to other platforms.
But it does have incentive for app developers on other platforms to port code to their own platform.
Are there any "unicorn" apps that are Android only and intend to stay that way?
Re: React Native for Android
#47"Today, we're happy to release React Native for Android." https://github.com/facebook/react-native/commit/42eb5464fd8a... This comes in time for Facebook to meet its pledge. http://www.reactnativeandroid.com/
Big props to the person that bought the domain and setup the countdown. It stimulated the team to actually meet this deadline :)
Re: React Native for Android
#48Earlier quoted context omitted.
We designed React Native to run with any JS engine: jsc, v8, (wk)webview, inside of Chrome/Safari/Firefox, inside of Node, ... We released it with JSC today mostly for convenience: we had JSC setup from iOS and it works. But we're open to ship with a different engine if there are performance benefits.
Why not use the JS engine that the platform provides?
Re: React Native for Android
#49I'm going to look into this. I'm mostly curious about how building works and how easy it is to setup, say, a single (or two) build script(s) that can package for either platforms and grab the necessary, common JavaScript. I'm also curious as to how easy (or difficult) it is if you wish to create custom UI components for either platform.
Re: React Native for Android
#50Earlier quoted context omitted.
The issue is the developer. React-Native as a tool allows you to make poor design decisions, but it does nothing wrong itself. We need to be vigilant and remember to stick to native interactions.
could you elaborate on what poor decisions rn allows you to make over native ios/android?
With React-Native, it's really easy to be lazy. If you want to be on Android, but you don't want to change your designs to fit Android's UI standards, screw it, just write a wrapper around some of the iOS components and call it a day.