mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-02 17:18:58 +08:00
Summary: Got bitten lately by View.js returning different component based on `__DEV__` Adding a warning in the render method that should make it cleaner in the future that this method is not actually being used in prod mode. Closes https://github.com/facebook/react-native/pull/4322 Reviewed By: svcscm Differential Revision: D2691880 Pulled By: vjeux fb-gh-sync-id: 119672740969a857ab6288b7914d52e8d40a1d95