News for hackers. Stuff that matters.
Re:Ask HN: Companies who adopted React Native over a year ag... by atonse on Wednesday September 20, 2017 @09:58AM (#15293757)
I'd love to know this as well, as we're currently evaluating making the leap between RN and Xamarin for our startup.

(ideal world, I favor just using the native stacks for iOS and Android but we are short staffed)

Re:Ask HN: Companies who adopted React Native over a year ag... by passivepinetree on Wednesday September 20, 2017 @10:25AM (#15294044)
I've never used React Native, but I've had negative experiences with Xamarin at my current company. It's buggy as heck and the development experience isn't great.

Most teams are committing to native development after trying Xamarin.

Re:Ask HN: Companies who adopted React Native over a year ag... by GoldenMonkey on Thursday September 21, 2017 @06:08PM (#15307774)
I found Xamarin development to be about 30% faster on average, than native. But, even with Xamarin Forms, one often needs to customize the UI and code to target android or iOS specific features. And that is when it's a pita, b/c now you need to know native and the Xamarin platform. And it's all on you to figure out.. b/c the community and resources available are much smaller than the native community.

Even with the 30% development savings, I prefer native. It's just less hassle and more enjoyable.

Re:Ask HN: Companies who adopted React Native over a year ag... by Amokrane on Wednesday September 20, 2017 @10:06AM (#15293823)
Consider Flutter (https://flutter.io/) as well. The advantage over RN in terms of performances is interesting.
Re:Ask HN: Companies who adopted React Native over a year ag... by jankins on Wednesday September 20, 2017 @10:17AM (#15293958)
Beware though: "Note: Flutter is an alpha, open-source project."

It's missing some polish (notably, check accessibility) https://flutter.io/widgets/accessibility/ "Make your app accessible. (This is a work-in-progress.)"

I haven't dug into how much is done though. It's alpha after all, but I'd be wary of choosing it for a production project at the moment.

Re:Ask HN: Companies who adopted React Native over a year ag... by BoorishBears on Wednesday September 20, 2017 @10:22AM (#15294014)
I remember putting the Flutter demo with a simple counter on a no-name Android device and having the Flutter app completely chug.

The hardware had a really wimpy SoC, but a native app would never chug for something as simple as pressing a button to change a number.

It made suspect that while in phones with strong GPUs the acceleration makes things buttery smooth, it doesn't graciously scale to poor GPUs (but someone please do correct me if it might have been something else)

It got me worried about shipping an app and finding out it doesn't run on low end hardware even though it doesn't do anything that would be demanding on native

Re:Ask HN: Companies who adopted React Native over a year ag... by thebosz on Friday September 22, 2017 @02:13PM (#15314414)
Do you happen to remember what device that was? On my crappiest Android device (Moto E LTE 2015), the Flutter Gallery app runs fairly smooth.
Re:Ask HN: Companies who adopted React Native over a year ag... by BoorishBears on Monday September 25, 2017 @10:30AM (#15330780)
It's not a "normal" device that I could really name, but it's internals are shared with several brands of no name Android tablets you'd find at Walmart, for example