Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

isMounted() warning keeps showing in after upgrading to React Native 0.55.4

I am seeing isMounted() warning after I upgraded to latest React Native version 0.55.4.

enter image description here

like image 791
MD Aslam Ansari Avatar asked May 30 '18 04:05

MD Aslam Ansari


1 Answers

Add the below code to your root index.js file.

import { YellowBox } from 'react-native';
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Module RCTImageLoader']);
like image 185
MD Aslam Ansari Avatar answered Oct 13 '22 23:10

MD Aslam Ansari