Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native disable warnings

// for RN >= 0.63
// in your entry file (eg. App.tsx)

import { LogBox } from 'react-native';
// ignore warnings that start in a string that matchs any of
// the ones in the array
LogBox.ignoreLogs(["Require cycle:"])
 
PREVIOUS NEXT
Tagged: #react #native #disable #warnings
ADD COMMENT
Topic
Name
2+3 =