Warning: isMounted(…) is depreca
2018-09-03 本文已影响8人
YDM_4718
解决:在index.js中加入一下代码,忽略警告
import { YellowBox } from 'react-native';
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Module RCTImageLoader']);
解决:在index.js中加入一下代码,忽略警告
import { YellowBox } from 'react-native';
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Module RCTImageLoader']);