React Native 坑之com.facebook.react.uimanager.IllegalViewOperationException: Trying to set local data for view with unknown tag

React Native项目,项目环境React Native:0.50.3,

报错截图:


React Native 坑之com.facebook.react.uimanager.IllegalViewOperationException: Trying to set local data for view with unknown tag_第1张图片
错误截图

错误原因:React naive0.50上的bug

解决方案:

升级到React Native至0.51以上

希望对React Native开发的小伙伴有点帮助~

你可能感兴趣的:(React Native 坑之com.facebook.react.uimanager.IllegalViewOperationException: Trying to set local data for view with unknown tag)