Live data from Hacker News

React Native for Android

code.facebook.com

121–130 of 248 posts

Re: React Native for Android

#122
I think the best part of this article was the small link to the F8 2015 "Big Code" video [0] where they go into detail about switching from Git to Mercurial, building their own IDE around Atom, and detailing their continuous integration process. It's a long video but it's very watchable using the YouTube speed multiplier. :)

[0] https://www.youtube.com/watch?v=X0VH78ye4yY

Re: React Native for Android

#123
post #121

Google has been working with the alternative already: https://flutter.github.io/ . Probably usable in some months.

It uses Dart. Which despite looking like a nice language, approximately nobody knows. So I'm not sure this is really an viable alternative.

Re: React Native for Android

#124
post #91

Slightly off topic but I'm curious about using React Native vs WebView with native wrapper and components. I'm a developer who primarily codes in Ruby. I'm working on a side project that will be mostly CRUD and have no DOM updates. The application will need to support web, mobile, and tablet. I'm considering using React so I can use React Native but I'm afraid I'm adding a level of unnecessary complexity. Originally,…

do you need a mobile app or a mobile website ? that's the first question you need to ask yourself.

Re: React Native for Android

#125
post #121

Google has been working with the alternative already: https://flutter.github.io/ . Probably usable in some months.

That seems like it's going to be a tough sell seeing as it uses Dart instead of JS when JS devs already have React Native, NativeScript, Titanium and Cordova to choose from. But I'm a firm believer in a rising tide lifts all ships, so bring it on Google!

Re: React Native for Android

#126
post #121

Google has been working with the alternative already: https://flutter.github.io/ . Probably usable in some months.

It uses Dart. Which despite looking like a nice language, approximately nobody knows. So I'm not sure this is really an viable alternative.

Most android developers have Java background. Dart fits better there.

Re: React Native for Android

#127
post #99

Earlier quoted context omitted.

If you're going cross platform, the key is to know in detail the limitations of this approach, even if it takes longer to make that initial decision about what path to take. Different cross-platform tools have different approaches, but as a concrete example take Corona SDK. You need no native platform knowledge and your app runs inside the Corona runtime, which makes some difficult things easy but some easy things --…

the key is to know in detail the limitations of this approach There's the rub. If you don't know anything about the native platform then you "don't know what you don't know". The NativeScript demo shows how to pull in a native ObjC function (a string related method I think), but if you start with no background in the native libraries how would you even know when you could be leveraging a native library function inste…

> But if you have the foundation and know the native platform, why jump ship to JS at all?

I'm a (native) Android and JS developer. The primary reason I'm excited about React Native is that I don't have to go through the tedious compile-install cycle for every little UI change. React Native will make prototyping/iterating on Android as easy as it is on the web. However my reasoning assumes that there will be almost no friction in terms of creating complex views in React Native. I'm curious to see if that pans out.

Re: React Native for Android

#128
Congrats on shipping on schedule! My experience with React Native for iOS has been pretty pleasant so far given how young the libraries are. My main frustrations so far have been with the Navigator component (both the 'fully native' and the 'emulation native' versions) and some inconsistent documentation, though the latter I suspect is the result of rapid API changes. Pretty short learning curve, though, and the results have performed well, so I'd recommend anyone with moderate experience with React to check it out. Looking forward to diving in to the Android version soon.

Re: React Native for Android

#129

That could really be a game changer in mobile development.

Abstractions like these always target the least common denominator. But React has the "component" advantage so i'm not dismissing its usefulness. it's good for a category of projects.

Re: React Native for Android

#130

This might be a stupid question, but, would it make sense to have React Native also for Windows, Linux, OS X, etc.?

That would totally make sense. At Fb, we're focused on iOS and Android, but the community is absolutely welcome to step up and implement RN for the desktop platforms.

Jordan Byron already contributed a port of React Native to Apple TV: https://github.com/facebook/react-native/issues/2618#issueco...

Post reply on HN