react-native-navigation的迁移库
Simon Mitchell 9d4eea835a Fix/rootview bounds iphone x (#3405) 6 years ago
.ghp Rename openSourceIsAwesome.json to wix.json (#936) 7 years ago
.github support config 6 years ago
android Exposed getUiImplementationProvider for people to override if needed (#3295) 6 years ago
docs Remove broken link in README (#3300) 6 years ago
example Update docs for example project (#3315) 6 years ago
ios Fix/rootview bounds iphone x (#3405) 6 years ago
old-example-redux Replace React.PropTypes with prop-types (#1373) 7 years ago
scripts Change CI var env to JENKINS_CI 6 years ago
src Fix syntax error: "screen" is read-only (#3237) 6 years ago
.eslintrc update packages 8 years ago
.gitignore Extend SafeAreaView to support iOS 10 6 years ago
.npmignore Add logo to readme (#802) 7 years ago
.travis.yml Update .travis.yml (#1125) 7 years ago
.watchmanconfig fix watchman 8 years ago
LICENSE Update LICENSE 7 years ago
README.md Update README.md 6 years ago
logo.png Add logo to readme (#802) 7 years ago
package.json Trigger build 6 years ago
yarn.lock Replace React.PropTypes with prop-types (#1373) 7 years ago

README.md


React Native Navigation

NPM Version NPM Downloads Build Status Join us on Discord

Important

We are currently in late stages of development of v2, which is published to npm under alpha tag.

  • New to RNN? We recommend you start with v2.
  • Already using v1? now is the time to migrate your code base to v2, and you can easily do so with a single line of code using the v1-v2 adapter.
  • v2 Documentation

    Have any questions regarding v2? Join us in Discord #v2 channel.



Latest stable version is 1.1.x and is published to npm under tag latest. It supports react-native >= 0.48.

⚠️Since we’re focusing our efforts on v2, we are not accepting pull requests for v1 and are not addresing issues for v1.

tl;dr

React Native Navigation provides 100% native platform navigation on both iOS and Android for React Native apps. The JavaScript API is simple and cross-platform - just install it in your app and give your users the native feel they deserve. Using redux? No problem: React Native Navigation comes with optional redux support out of the box. Ready to get started? Check out the docs.

Real world examples

    

On the left - The Wix app.

On the right - The example app.

Quick Links


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.

License

The MIT License.

See LICENSE