mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a620d7dc85
Summary: Without moving this, we would get this warning about a require cycle on the next diff, because DummyUIManager and LazyUIManager both need unstable_hasComponent. ``` (NOBRIDGE) WARN Require cycle: react-native-github/Libraries/NativeComponent/NativeComponentRegistry.js -> react-native-github/Libraries/ReactNative/UIManager.js -> react-native-github/Libraries/ReactNative/DummyUIManager.js -> react-native-github/Libraries/NativeComponent/NativeComponentRegistry.js Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. ``` Changelog: [Internal] Reviewed By: philIip, RSNara Differential Revision: D33511566 fbshipit-source-id: fd8c9732408d08ab17335273f86168bf30747929