Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove react prop type warning in react console

I'm using development mode and I need my console to be clear enough. How can I remove react prop type warning in components? I'm using react-native-web in my stack and possibly it causes these warnings.

like image 930
zaebalo Avatar asked Nov 27 '25 07:11

zaebalo


1 Answers

console.disableYellowBox = true;

This will solve the problem.

For more details https://codedaily.io/tutorials/5/Disable-the-Yellow-Box-in-React-Native

like image 179
JainZz Avatar answered Nov 29 '25 23:11

JainZz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!