RN-Demos
RN-Demos copied to clipboard
React Native
navigation相当于直接可以通过一个组件声明使用,你这App组件相当于是navigator,,如果是navigation该怎么写啊,关键navigation的声明不是一个组件,类似这种 const MyApp = StackNavigator({ Login: { screen: Login, navigationOptions: { header: null } }, Main: { screen: Main, navigationOptions: { header: null } } }); 在provider中怎么弄啊??写不了啊
报警告:
报警告: Warning:Each child in an array or iterator should have a unique "key" prop.Check the render method of 'WeixinTabBar'.
报错: ··· $ react-native run-android Starting JS server... Building and installing the app on the device (cd android && ./gradlew installDebug... Could not install the app on the device, read...