admin管理员组文章数量:1402786
I've encountered a navigation issue in my React Native project after upgrading to React 19.0.0. Specifically, navigation using @react-navigation/native-stack within React Native 0.78.1 is no longer functioning. I'm using TypeScript.
Problem:
Navigation calls made via navigation.navigate()
are not triggering any screen transitions. The UI remains static, and there are no error messages or console warnings.
Environment:
React Native: 0.78.1
React: 19.0.0
React Navigation:
@react-navigation/native: 7.0.17
@react-navigation/native-stack: 7.3.1
react-native-screens: 4.9.2
react-native-safe-area-context: 5.3.0
Target Platforms: iOS and Android (both emulators) TypeScript: Yes
Whenever I add NavigationContainer it throws error. How do I solve it
I tried the same code with react 18 and react native 0.76.5 and it works completely fine,
本文标签: reactjsReact Native navigation not working with react navigation in latest 078 versionStack Overflow
版权声明:本文标题:reactjs - React Native navigation not working with react navigation in latest 0.78 version - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744274538a2598348.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论