React Navigation
![npm version](https://camo.githubusercontent.com/4863830942815d221dfc1f372c1ce9c0e921e68823f48b26f16d33574b94b33b/68747470733a2f2f62616467652e667572792e696f2f6a732f72656163742d6e617669676174696f6e2e737667)
Learn once, navigate anywhere.
Browse the docs on reactnavigation.org.
Motivation
React Navigation is born from the React Native community's need for an extensible yet easy-to-use navigation solution. It replaces and improves upon several navigation libraries in the ecosystem, including Ex-Navigation, React Native's Navigator and NavigationExperimental components. React Navigation can also be used across React and React Native projects allowing for a higher degree of shared code.
Once stable, NavigationExperimental will be deprecated in favor of React Navigation. React Navigation is a collaboration between people from Facebook, Exponent and the React community at large.
Getting started
- Create a new React Native App
react-native init SimpleApp
cd SimpleApp
- Install the latest version of react-navigation from npm
yarn add react-navigation
or
npm install --save react-navigation
- Run the new app
react-native run-android # or:
react-native run-ios