React Navigation vs. React Native Navigation

Viewed 28634

What are the technical differences between the main two React Native navigation solutions: React Native Navigation and React Native?

Are there specific technical limitations that would require the use of one over the other?

Is one more widely used than the other?

3 Answers

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).

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.

Related