这个demo使用React Navigation · Routing and navigation for your React Native apps来管理router过程中,产品上提出的一个需求:在App界面上的一部分区域,实现导航跳转等功能。查看React-Navigation
的文档后,我发现它的stackNavigator
是可以嵌套的,于是就有了现在这个demo。效果图如下:
lsk-boy-f / demo-for-nest-stack-navigator-in-view Goto Github PK
View Code? Open in Web Editor NEW把stackNavigator嵌入到Screen中的一个View中
License: Apache License 2.0