Our iOS app: https://itunes.apple.com/us/app/root-car-insurance/id1021256...
Our Android app: https://play.google.com/store/apps/details?id=com.joinroot.r...
Our iOS app: https://itunes.apple.com/us/app/root-car-insurance/id1021256...
Our Android app: https://play.google.com/store/apps/details?id=com.joinroot.r...
How's the battery usage of your RN app vs a real native app? Does your app require the latest phone hardware to run with decent performance?
[1] https://sites.google.com/view/energy-efficiency-languages/re...
While the citation you provide is interesting, it doesn't inherently prove that in real-world usage, React Native apps consume twice the power of their native counterparts.
> Swift won overall in the CPU category, React-Native won the GPU category (barely), and React-Native won big time in the Memory category.
[1]: https://medium.com/the-react-native-log/comparing-the-perfor...
The JS runtime is only used to choreograph different native components. It's like a .xib or storyboard but with the ability to do logic. This code runs at user input speed so the relative performance characteristics are irrelevant.
I started building a react native app but decided against it because switching activities seemed to be very hacky compared to native development. Seemed like it'd really get out of hand with 10+ screens.
Wix's "React Native Navigation" was too opinionated / inflexible.
Kind of difficult to parse the adoption/ecosystem based on download trends[1] for these two
https://www.youtube.com/watch?v=kFyaj5HmMEY&t=1059s
The situation with navigation and React Native is a bit of a mess right now.
Basically all navigation stacks can be broken down into two categories, those that are native (i.e built on top of the OS's existing navigation stack) and those that are not (pure javascript, emulates what the native stack does).
Examples of Native navigation stacks:
-> React Native Navigation (wix)
-> Native Navigation (Airbnb)
Examples of Javascript navigation stacks:
-> React Navigation
-> React Native Router Flux
-> React Router Native
An example app I wrote with React Navigation + Redux:
https://github.com/hgale/ReactNavigationDemo
Same app but built with React Native Navigation + redux:
https://github.com/hgale/ReactNativeNavigationDemo
The main differences are that the native nav stacks have better performance, stuff like accessibility works right out of the box and they work the same way that the underlying native system works.
The main downside to using Native navigation stacks right now is that setting then up & upgrading them can be a real pain. It can also require native knowledge when things go wrong.
I would recommend staying with react navigation (Javascript based nav stack) unless you absolutely need some feature from one of these native nav stacks.
It's going to be a lot easier to upgrade and you won't run into issues doing over the air updates with your production apps.
It's also the one that Facebook promotes in their docs:
https://facebook.github.io/react-native/docs/navigation.html
Right now both React Native Navigation and React Navigation are under heavy development. No matter which one you choose, budget for some pain in the next year when upgrading.
Also you can make an app that has no accessibility problems using React Navigation, you just need to be careful about scenarios where you might have a deep stack. I.e during signup or something that requires several screens on top of one another.
Here is a summary of the bug:
https://react-native.canny.io/feature-requests/p/navigator-b...
It's painful but possible to work around these issues using React Navigation.
I pretty much put the project down after that and started learning Swift (I already do Android).
Now I decided to go all out on iOS dev with the hope of making a career change from web.
It's actually quite easy