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

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