reactnative 自身警告 Warning: isMounted(...) is deprecated in plain Javascript Classes. Instead, make...

解决:
root.js中加上


import { YellowBox } from 'react-native';

YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Module RCTImageLoader']);

你可能感兴趣的:(reactnative 自身警告 Warning: isMounted(...) is deprecated in plain Javascript Classes. Instead, make...)