React Navigation & React Native & React Native Navigation

时间:2022-09-24 06:51:22

React Navigation & React Native & React Native Navigation

React Navigation

https://facebook.github.io/react-native/docs/navigation#react-navigation

https://reactnavigation.org/

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


$ yarn add react-navigation
# OR
$ npm i -S react-navigation

https://reactnavigation.org/zh-Hans/

https://reactnavigation.org/docs/zh-Hans/getting-started.html


React Native Navigation

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

https://wix.github.io/react-native-navigation/#/


$ yarn add react-native-navigation
# OR
$ npm i -S react-native-navigation

https://facebook.github.io/react-native/docs/linking-libraries-ios.html#manual-linking

step 1

React Navigation & React Native & React Native Navigation

step 2

React Navigation & React Native & React Native Navigation

step 3

React Navigation & React Native & React Native Navigation


jsx bug

???

https://github.com/xgqfrms/React-Native-Tutorials/issues/1

https://github.com/react-navigation/react-navigation/issues/5855

React Navigation & React Native & React Native Navigation

React Navigation & React Native & React Native Navigation

solutions

  1. .js

  2. router name bug

React Navigation & React Native & React Native Navigation