Side effects of RN?
Excellent work.
I'll see a post which interests me for a few seconds and then it's gone. Happens often.
Has that been your experience? When you moved any UI from UIKit or native Android views to React Native, was it worse in any way? Did it require a lot of work to get back to native-quality UX?
Also, what approach did you use for testing the RN flows? (unit testing, e2e testing, etc).
BTW, thanks for sharing your experiences!
We see space for React Native to grow inside of Instagram on flows similar to the ones mentioned on the blog post.
Specifically how was performance across Android/iOS?
We don't have numbers we can share but but the React Native team is working on further improving this. Check out Spencer's commit (https://github.com/facebook/react-native/commit/a3457486e39d...) for a sneak peek of what's coming up :).
Part of the issues were our own fault: overlaying a transparent image provided by our designers instead of asking for a non transparent one, not using flags like renderToHardwareTextureAndroid.
Others were due to our use of the navigation library, react-native-router-flux, which on Android is backed by fragments. This caused a bunch of overdraw issues (i.e previously pushed views, which were not visible were being rendered in the background). We are planning on migrating away from this routing library to another one.
I'd love to read more articles about react native and performance based on real world examples at scale so please keep publishing them.
Edit: Answered in other comment below. Share logic, no UI.