mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-10 17:33:36 +08:00
Summary: I downgrade the invalid bridge warning because I believe that it is a pain that every time that the JS gets refreshed this warnings are being thrown. If the project increase size and more and more NativeModules are added this warnings just spam the emulator or the device. I understand the reason of validating if the bridge is valid. However in case of invalidness nothing is done, just the warning is thrown. Hence, the reason of downgrading it to improve the development process. The error message still exist and it will be in the logs. But it will not spam the development screen [iOS] [Changed] - Downgrade the Invalid bridge warning message to a log Pull Request resolved: https://github.com/facebook/react-native/pull/23557 Differential Revision: D14161290 Pulled By: cpojer fbshipit-source-id: e5608a9b2db5625309fd18d133fe69a9013043f3