Удалить желтое предупреждение отреагировать нативный эмулятор
console.disableYellowBox = true;
//add it anywhere in any page to disable warnings in emulator
Jurie
console.disableYellowBox = true;
//add it anywhere in any page to disable warnings in emulator
console.disableYellowBox = true;
// 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:"])
console.disableYellowBox = true;
// add this is main component of react native application