I just want to know honest, experienced and objetive points of view about these two soutions to implement the navigation in React Native:
Which is better and why. Thanks
I just want to know honest, experienced and objetive points of view about these two soutions to implement the navigation in React Native:
Which is better and why. Thanks
You should give the Navigation router a try. It provides the best of both worlds: 100% native navigation on iOS and Android and a JavaScript array representation of the native stack of screens.
React Native Navigation using native navigation by wrapping each screen with a native controller. So the performance is optimized by the native realm. The area you gonna implement is inside the header and tab bar.
React Navigation is pure js implementation. It uses React-native root view as the container view. Each screen is under the root view hierarchical tree.
So if you open the app from View Hierarchy console, you will see a big difference (React Navigation includes a bunch of weird components like multiple headers or tab bar, the tree is also difficult to understand).
React Native Navigation as the name says uses the native modules with a JS bridge, so performance will/may be better. requires native integration.
While React Navigation is a simple and powerful solution provided by react native itself. Its an all JS implementation unlike the other that uses native support which can be tricky. Just
npm-install
and you're good to go ...Use react navigation if you prefer an all JS implementation and use native navigation if your highest priority lies in performance .
For those who are looking from a user experience view, both provides almost identical animations and flow so that you wouldn't know what lib is used behind the scenes.
The major difference is the native side that can make performance better(which is crucial for a better user experience)Both libs are amongst the best navigation solutions for React Native. Use it according to your need/preference.