I am using react native 0.61.5 version.
What is "i"?
I looked for "i" in my project. But, as far as I can tell, I couldn't find any mistakes.
I commented out App.tsx. Then commented out the following part and the error disappeared. The same error occurs even if you remove the comment out of the same description.
// const HomeScreen = ({navigation}) => {
// return (
// <HomeStack.Navigator>
// <HomeStack.Screen
// name="Home"
// component={Home}
// options={{
// headerLeft: () => HeaderDrawer(navigation),
// }}
// />
// </HomeStack.Navigator>
// );
// };
From this, I realized that react navigation v5 was bad.
Someone please give me information If you are in the same situation, we will ask for information.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.