Today I Learned

hashrocket A Hashrocket project

Disable React Native yellow box warnings

Sometimes you upgrade React Native and you get a bunch of deprecation warnings because your app is relying in some 3rd party library that hasn't been updated yet.

To disable those warnings just stick this line inside your index.js file:

console.disableYellowBox = true;
See More #react TILs
Looking for help? At Hashrocket, our JavaScript experts launch scalable, performant apps on the Web, Android and iOS. Contact us and find out how we can help you.