将包添加react-native-web到现有的 RN 应用程序(使用 制作react-native init)。按照此站点的设置进行操作:
https://arry.medium.com/how-to-add-react-native-web-to-an-existing-react-native-project-eb98c952c12f
该项目编译成功,但在浏览器中出现空白屏幕和循环错误:
Uncaught TypeError: Cannot read properties of undefined (reading 'isBatchingLegacy')
Run Code Online (Sandbox Code Playgroud)
我找不到有关此错误的任何信息,我已跟踪相关文件,但不知道如何继续。