News for hackers. Stuff that matters.
Re:A monthly release cadence for React Native by sandGorgon on Monday January 09, 2017 @04:02PM (#13359762)
we have been struggling with the idea if whether to start using react native in our current production android app.

what is a good balance between RN vs pure native? what works and what doesn't?

what about other considerations like power consumption..file size, etc?

Re:A monthly release cadence for React Native by hafor on Monday January 09, 2017 @06:58PM (#13361187)
In terms of how much React/JavaScript code you should expect to write vs. how much Native code for a production app, it obviously depends a lot on the app but maybe 80/20 might be a reasonable (if totally arbitrary) expectation.

Here's a good high-level talk which touches on the balance somewhat: https://www.youtube.com/watch?v=abSNo2P9mMM.

You should only expect to write pure native code when you hit a performance barrier with some particular custom component you're creating and there isn't an existing JS api or a standard/3rd party component which does everything you need already. But when you do hit this barrier, wiring up your own natively implemented module is pretty straightforward.