News for hackers. Stuff that matters.
Re:Proton Native – React Native for the desktop by dilap on Wednesday May 02, 2018 @02:49PM (#16980013)
Sort of tangential, but does anyone know of a good React Native app? Everything I've tried would clearly have been a better product if they'd just done native development. Like, you're sacrificing product quality for development ease.
Re:Proton Native – React Native for the desktop by a13n on Wednesday May 02, 2018 @02:54PM (#16980069)
You might recognize a few on this list: http://facebook.github.io/react-native/showcase.html
Re:Proton Native – React Native for the desktop by saagarjha on Wednesday May 02, 2018 @03:06PM (#16980169)
None of those are apps I particularly enjoy using or would want to use.
Re:Proton Native – React Native for the desktop by symlinkk on Wednesday May 02, 2018 @03:43PM (#16980480)
Facebook? Instagram? Airbnb? We're talking about some of the most popular apps in the world. What exactly is your problem with them?
Re:Proton Native – React Native for the desktop by kllrnohj on Wednesday May 02, 2018 @05:32PM (#16981334)
Facebook app also has huge chunks of platform-native code, it's why they also have things like Litho: https://fblitho.com/

And according to their announcement post Litho is what they are using for their News Feed: https://code.facebook.com/posts/1187475984695956/open-sourci...

So the most critical part of the Facebook app isn't in React Native. How much of those other apps are actually using React Native?

Re:Proton Native – React Native for the desktop by Benjammer on Wednesday May 02, 2018 @03:47PM (#16980522)
I mean, do you realize that most of the big names on that list have a hybrid solution where they prove concepts, A/B test, and rapidly iterate-on/release new features using React Native, and then they have a native dev team for each platform that goes back and re-implements most of the core features natively?
Re:Proton Native – React Native for the desktop by prophesi on Wednesday May 02, 2018 @03:53PM (#16980577)
Discord is the most impressive one to me. They definitely didn't have those resources when they wrote their iOS app[0].

The Android version is just RxJava, iirc, because of some performance issues they couldn't get around.

[0] https://blog.discordapp.com/using-react-native-one-year-late...

Re:Proton Native – React Native for the desktop by realusername on Thursday May 03, 2018 @08:44AM (#16985433)
At that time when they released, the React Native Android was probably still in a kind of beta state.
Re:Proton Native – React Native for the desktop by orbitur on Thursday May 03, 2018 @04:47PM (#16989796)
RN Android still feels like beta.
Re:Proton Native – React Native for the desktop by tazard on Friday May 04, 2018 @08:47AM (#16994120)
How so? I run into the occasional hiccup an iOS and Android, but overall both have been pretty smooth for me.
Re:Proton Native – React Native for the desktop by briandear on Wednesday May 02, 2018 @07:48PM (#16982151)
That’s correct. AirBnB’s iOS app is written mostly in Swift. And Facebook’s iOS app is a piece of shit performance wise.
Re:Proton Native – React Native for the desktop by jcelerier on Wednesday May 02, 2018 @05:55PM (#16981496)
they are the most popular because they are needed to access a service. But they are all a fucking pain to use.
Re:Proton Native – React Native for the desktop by symlinkk on Wednesday May 02, 2018 @06:17PM (#16981639)
How are they a "fucking pain to use"? I have never heard an average person complain about Instagram's UI. It's fine. It's good, even.
Re:Proton Native – React Native for the desktop by int_handler on Wednesday May 02, 2018 @06:15PM (#16981628)
Can you give some examples of popular apps that are not "a fucking pain to use?"
Re:Proton Native – React Native for the desktop by saagarjha on Wednesday May 02, 2018 @03:59PM (#16980624)
None of those are apps that I'd hold up as paragons of UI design…
Re:Proton Native – React Native for the desktop by dilap on Wednesday May 02, 2018 @06:54PM (#16981872)
yeah, the question still stands. instagram is a particularly nice example of what i'm talking about: it was much snappier pre-fb aquisition. (tho of course hard to know how much of that if any is the fault of react native or other things changing.)
Re:Proton Native – React Native for the desktop by rimliu on Thursday May 03, 2018 @03:44AM (#16984096)
Even development ease is somewhat illusionary. To be effective you will still need to know the details of iOS/Android and sometimes just write native code. At the end, why not just go full-native instead of writing and rewriting bridges.
Re:Proton Native – React Native for the desktop by wsy on Wednesday May 02, 2018 @03:38PM (#16980440)
No, you sacrifice platform specificity for better or broader functionality (given the same development capacity).

Of course, with unlimited development capacity, for each React Native app there could be a better purely native app.

Another point also often forgotten is that the user experience of a React Native app, while not as 'platformy', will be very coherent for users of multiple platforms. That can also be considered as 'better', given you are such a user.

Re:Proton Native – React Native for the desktop by foobarandgrill on Wednesday May 02, 2018 @02:53PM (#16980056)
Instagram uses react native, I believe
Re:Proton Native – React Native for the desktop by enkiie on Wednesday May 02, 2018 @02:59PM (#16980110)
Have you heard of Facebook?