react-native-navigation的迁移库
Daniel Zlotin 78530363ec Delete CNAME 7 years ago
..
_images New Documentation (#819) 7 years ago
.nojekyll New Documentation (#819) 7 years ago
README.md New Documentation (#819) 7 years ago
_navbar.md New Documentation (#819) 7 years ago
_sidebar.md New Documentation (#819) 7 years ago
adding-buttons-to-the-navigator.md New Documentation (#819) 7 years ago
android-specific-use-cases.md New Documentation (#819) 7 years ago
contributing.md New Documentation (#819) 7 years ago
deep-links.md New Documentation (#819) 7 years ago
index.html New Documentation (#819) 7 years ago
installation-android.md New Documentation (#819) 7 years ago
installation-ios.md New Documentation (#819) 7 years ago
milestones.md New Documentation (#819) 7 years ago
screen-api.md New Documentation (#819) 7 years ago
styling-the-navigator.md New Documentation (#819) 7 years ago
styling-the-tab-bar.md New Documentation (#819) 7 years ago
third-party-libraries-support.md New Documentation (#819) 7 years ago
top-level-api.md New Documentation (#819) 7 years ago
usage.md New Documentation (#819) 7 years ago

README.md


React Native Navigation

NPM Version NPM Downloads Build Status Join us on Discord

App-wide support for 100% native navigation with an easy cross-platform interface. For iOS, this package is a wrapper around react-native-controllers, but provides a simplified more abstract API over it. This abstract API will be unified with the Android solution which is currently work in progress. It also fully supports redux if you use it.


Important

We are currently working hard on redesigning and refactoring this project with high quality and robustness in mind. As a result, issues and pull requests will take more time to process.

To avoid any confusion and breaking existing projects, all continuous development is published under the npm tag next, with version 2.0.0-experimental.x. Once stable, we will publish it as 2.0.0. This version supports react-native 0.40.0 and above.

The last stable version is 1.30.x with npm tag latest. This version supports react-native 0.25.1. It’s installation instructions are here.

If you don’t want your code to break on a daily basis and don’t need the new features ASAP please use the latest version or just specify a specific version number.

Why use this package

One of the major things missing from React Native core is fully featured native navigation. Navigation includes the entire skeleton of your app with critical components like nav bars, tab bars and side menu drawers.

If you’re trying to deliver a user experience that’s on par with the best native apps out there, you simply can’t compromise on JS-based components trying to fake the real thing.

For example, this package replaces the native NavigatorIOS that has been abandoned in favor of JS-based solutions that are easier to maintain. For more details see in-depth discussion here.