美文网首页
react-navigation使用时报错Warning: is

react-navigation使用时报错Warning: is

作者: channelRead0 | 来源:发表于2018-05-03 09:33 被阅读0次
warning.jpg

我的版本是:

  "dependencies": {
    "react": "16.3.1",
    "react-native": "0.55.3",
    "react-native-vector-icons": "^4.6.0",
    "react-navigation": "^1.5.11"
  },

目前的解决方法是忽略,再index.js中添加

import { AppRegistry,YellowBox  } from 'react-native';
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated']);

相关文章

网友评论

      本文标题:react-navigation使用时报错Warning: is

      本文链接:https://www.haomeiwen.com/subject/roqkrftx.html