A monthly release cadence for React Native
facebook.github.io
facebook.github.io
https://productpains.com/post/react-native/android-home-scre...
This will help the core team know what should be prioritized!
We're still on 0.34 ( https://github.com/artsy/emission/blob/master/yarn.lock#L484... ) now I feel guilty.
Glad to see the project start to stabilize.
I do however experience real issues when upgrading. We tried going from 0.38 to 0.39, but getting the xcode project files to merge correctly has proved difficult for us, a couple of newbies. The new react-native-git-upgrade makes it easier to see the conflicts, but it is still hard for us to make it work. Does HN have any wisdom to share?
For each change, then, I try to upgrade any react-specific code while preserving my own changes to that file.
It's certainly cumbersome and I avoid doing it too often, but I've found this manageable.
Last time I checkes, there was still rather much mobile know-how needed :/
That said, there is something about coding in mostly one language (javascript) vs 2 or 3 (Objc/Swift/Android) and also have that live app reloading.
In any case, this react stuff is not for beginners and won't make learning mobile platforms easier - you will still need to put in obligatory 10k hours to get good at mobile dev...
It is possible to create an app without native experience, but it is still needed to create a very good 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?
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.
https://github.com/facebook/react-native/issues/4968
Which is severe but has been open for so long just hasn't had any attention from the core team. It's clearly a massive problem and the packager code is... less than friendly.
While it may be frustrating if this is affecting you, its certainly not a severe issue.
I have been part of development teams for two react-native apps, and nobody on either team has encountered this issue yet (with developers working on a a combination of OSX & Windows 10)
I agree that the documentation can be better. My advice is - either contribute, or read the code. You'd be surprised how well commented and documented the code itself is.
Handling things like authentication would be falling into the trap of doing too much. A UI library/framework is an orthogonal concept to handling user registration or authentication. Material design? Let's say I don't like material design - then it'll be just extra baggage.