react-native-navigation的迁移库

README.md 3.9KB


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. Version 1.1.483 supports react-native >= 0.48 up to react-native 0.56 Version 1.1.484 supports react-native >= 0.57

⚠️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