ignore a specific warning react native code example
Example: remove yellow warning react native emulator
console.disableYellowBox = true;
//add it anywhere in any page to disable warnings in emulator
console.disableYellowBox = true;
//add it anywhere in any page to disable warnings in emulator