News for hackers. Stuff that matters.
Re:React Native for Android by elietoubi on Monday September 14, 2015 @01:44PM (#10216312)
That could really be a game changer in mobile development.
Re:React Native for Android by aikah on Monday September 14, 2015 @04:13PM (#10217198)
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 by sero on Tuesday September 15, 2015 @08:30AM (#10220205)
I totally understand why you'd feel like this, but I think there are two big reasons why this is only true to a lesser extent with RN:

1) There are a ton of native APIs that accomplish exactly the same things, but have different APIs because different people built them and there's no pressure to make them consistent. Examples: layouting (just calculate x, y, width, height's of a view tree), animation, storage, networking, touch handling, the list goes on... it's a waste to have to learn the implementation specific quirks of each platform.

2) We've focused on making sure we can make apps at least as good as the native ones for the platform. Specifically this has meant exposing platform specific apis (e.g. Android's material touch ripple, iOS's gaussian blurs, etc), allowing arbitrary new ones to be added, and encouraging designers to still design their apps for each platform individually.

Re:React Native for Android by muzmath on Monday September 14, 2015 @05:31PM (#10217610)
Do you consider a facebook production app a least common denominator?
Re:React Native for Android by aikah on Monday September 14, 2015 @05:39PM (#10217689)
Do you really believe the facebook production app is built 100% with React Native ?
Re:React Native for Android by muzmath on Tuesday September 15, 2015 @01:13PM (#10221791)
Did you read the article before downvoting me?

Let me spell this out for you...

A Facebook app, is an app made by facebook, which obviously i'm referencing the one that they are talking about in the article your commenting on. And yes, it was made using React Native. Any more questions before you read the article?

Re:React Native for Android by sehr on Monday September 14, 2015 @06:10PM (#10217843)
yeah

> Facebook Ads Manager is built entirely using React Native.

https://code.facebook.com/posts/1014532261909640/react-nativ...

Re:React Native for Android by aikah on Monday September 14, 2015 @06:33PM (#10217958)
Ads Manager =/= Facebook app for "users"
Re:React Native for Android by sehr on Monday September 14, 2015 @06:50PM (#10218017)
I think I see where the confusion is, muzmath said 'a' facebook app (i.e. Ads Manager), not 'the' facebook app. Main FB app is definitely not using 100% react native.

That being said, Ads Manager users are still mostly just "users". I know a middle aged woman using it to manage ads for her side business for example, regular people are using 100% React Native apps daily.

Re:React Native for Android by muzmath on Tuesday September 15, 2015 @01:14PM (#10221797)
Your right, when I say a facebook app, I literally mean an application, developed by facebook.