Skip to content
项目

关于

改进 React Native 中的导航

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Note: Use React Navigation now instead

This project was developed in early 2016 and has since matured and combined with Expo's Ex-Navigation project to form a new effort: React Navigation. Please use that instead, and collaborate with the community to improve it!

DEPRECATED NavigationExperimental

This was an 2016 RFC for a new Navigation system for react native, with focus on the following improvements over <Navigator />:

  • Single-directional data flow, using reducers to manipulate top-level state object
  • Navigation logic and routing must be independent from view logic to allow for a variety of native and js-based navigation views
  • Improved modularity of scene animations, gestures, and navigation bars

If you're confused about all the navigation options, look at the Navigation Comparison doc.

Code

NavigationExperimental has recently been moved from here to the open source RN repo: https://github.com/facebook/react-native/commit/a3085464f6ea36fc6b53cd0c711c048ffb1516f9

Docs

探索相关项目

加载中…