undefined 不是一个对象(评估route.routeName)

2024-04-10

enter image description here when update the expo from (16.0.0) to (24.0.0) and react navigation from (git+https://github.com/react-community/react-navigation.git https://github.com/react-community/react-navigation.git) to (^1.0.0-beta.21) version, this error occured


终于知道如何解决这个问题了无证的抽屉导航器配置:

drawerOpenRoute: 'DrawerOpen',
drawerCloseRoute: 'DrawerClose',
drawerToggleRoute: 'DrawerToggle'

看这里:https://github.com/react-community/react-navigation/issues/3148#issuecomment-352778884 https://github.com/react-community/react-navigation/issues/3148#issuecomment-352778884

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

undefined 不是一个对象(评估route.routeName) 的相关文章

随机推荐