mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix ReactInstanceManager to add getJSIModule() as an alternate path (#41495)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41495 Fix ReactInstanceManager for adding the callsite of `getJSIModule()` as an alternate path to new way of Fabric initialization in order to make Catalyst and RN-Tester work with the changes for Fabric initialization Reviewed By: javache Differential Revision: D51338036 fbshipit-source-id: 49badac52f1032f1032a989b76dd422e3cf7582f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6321371212
commit
e8323781fa
+2
-1
@@ -1407,9 +1407,10 @@ public class ReactInstanceManager {
|
||||
reactContext, catalystInstance.getJavaScriptContextHolder()));
|
||||
}
|
||||
if (ReactFeatureFlags.enableFabricRenderer) {
|
||||
catalystInstance.getJSIModule(JSIModuleType.UIManager);
|
||||
if (mUIManagerProvider != null) {
|
||||
catalystInstance.setFabricUIManager(mUIManagerProvider.createUIManager(reactContext));
|
||||
} else {
|
||||
catalystInstance.getJSIModule(JSIModuleType.UIManager);
|
||||
}
|
||||
}
|
||||
if (mBridgeIdleDebugListener != null) {
|
||||
|
||||
Reference in New Issue
Block a user