RN集成native-echarts报错:Invariant Violation:WebView has been removed from React Native. It can now b...

解决:

1.在项目中加入react-native-webview,命令:yarn add react-native-webview

2.添加成功后,在模块的路径下:node_modules /⁨native-echarts⁩/src⁩ /components⁩/Echarts⁩的index.js文件中修改成如下:

你可能感兴趣的:(RN集成native-echarts报错:Invariant Violation:WebView has been removed from React Native. It can now b...)