最新消息:20190717 VPS服务器:Vultr新加坡,WordPress主题:大前端D8,统一介绍入口:关于

【已解决】ReactNative的导航库:native-navigation vs react-native-navigation

React Native crifan 929浏览 0评论

折腾:

【已解决】ReactNative中实现底部Tab页面和顶部导航栏

期间,

已经看到官网

Navigating Between Screens

推荐用:

但是刚刚才发现两个是不同的库:

http://airbnb.io/native-navigation/

https://github.com/wix/react-native-navigation

分别看了看,star都很多,都很不错

native-navigation vs react-native-navigation

Difference to wix/react-native-navigation · Issue #80 · airbnb/native-navigation

[Question]: Advantages and Disadvantages · Issue #34 · airbnb/native-navigation

How does this compare/differ from react-native-navigation · Issue #164 · react-community/react-navigation

但是刚又发现,对于:

native-navigation

还有两个不一样的:

airbnb/native-navigation: Native navigation library for React Native applications

star:2400+

官网:

Introduction · Native Navigation

react-community/react-navigation: Learn once, navigate anywhere

star:7100+

官网:

React Navigation

Navigator Comparison – React Native | A framework for building native apps using React

react-native-navigation是NavigatorIOS替代者。

performance – React Navigation vs. React Native Navigation – Stack Overflow

Good Practices: Why you should use JavaScript whenever possible with React Native

Playing with React Navigation and Airbnb’s Native Navigation

【总结】

React Navigation和React Native Navigation,都是很不错的ReactNative的导航的库。

总体来说:

在ReactNative系统中,如果能用JS就尽量用JS吧。

此处推荐用React Navigation,更主要的是,官网也是推荐用react-navigation。

转载请注明:在路上 » 【已解决】ReactNative的导航库:native-navigation vs react-native-navigation

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
67 queries in 0.126 seconds, using 18.81MB memory