React Navigation vs. React Native Navigation

I just wanna to know honest, experienced and objetive points of view about these two soutions to implement the navigation in React Native:

  • React Navigation
  • React Native Navigation

Which its better and why. Thanks

React Native Navigation as the name says uses the native modules with a JS bridge, so performance will/may be better. [Used by a large proportion out there]. 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 go to go ...

Use react navigation if you prefer an all JS implementation and use native navigation if your highest priority lies in performance .

Both libs are one of the best navigation solutions for React Native. Use it according to your needs.

UPDATE: Both libs have undergone drastic changes and entered v2. react-navigation is more stable and performant now. But if you have to handle complex computations in js go for native-navigation. but in most cases react-navigation will work for you!

Comments

Popular posts from this blog

Meaning of `{}` for return expression

Get current scroll position of ScrollView in React Native

flutter websocket connection issue