ios Reanimated 3.0.0的JavaScript部分和原生部分之间的不匹配-rc.9与未定义的

hgb9j2n6  于 2023-05-23  发布在  iOS
关注(0)|答案(1)|浏览(289)

我尝试使用RCTRootView从我的原生(Swift代码)UIViewController显示react原生屏幕。我一直得到这个不匹配的错误,我认为这与博览会有关,我已经尝试以各种方式重新注册组件,以及设置jsCodeLocation直接到本地主机没有用
错误消息。

Index.js.

js

ViewController

ie3xauqp

ie3xauqp1#

npx expo install react-native-reanimated
然后在bable.config.js中粘贴插件:['react-native-reanimated/plugin'],
https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/

相关问题