Удалить желтое предупреждение отреагировать нативный эмулятор
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;
// RN >= 0.63
import { LogBox } from 'react-native';
LogBox.ignoreLogs(['Warning: ...']);
// RN >= 0.52
import {YellowBox} from 'react-native';
YellowBox.ignoreWarnings(['Warning: ReactNative.createElement']);
// RN < 0.52
console.ignoredYellowBox = ['Warning: ReactNative.createElement'];