mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Eager initialize Fabric in RN VR apps
Summary: Enable eager intialization of FabricUIManager during intiialization of React Native. This feature highly improved TTRC in Markeptlace Home changelog: [internal] internal Reviewed By: genkikondo Differential Revision: D33585099 fbshipit-source-id: 0ffbc720bcb1edd1b04180189a52c82e9e2fa800
This commit is contained in:
committed by
Facebook GitHub Bot
parent
203a82e90a
commit
9df02fff6b
@@ -1390,7 +1390,7 @@ public class ReactInstanceManager {
|
||||
mJSIModulePackage.getJSIModules(
|
||||
reactContext, catalystInstance.getJavaScriptContextHolder()));
|
||||
}
|
||||
if (ReactFeatureFlags.eagerInitializeFabric) {
|
||||
if (ReactFeatureFlags.enableFabricRenderer) {
|
||||
catalystInstance.getJSIModule(JSIModuleType.UIManager);
|
||||
}
|
||||
if (mBridgeIdleDebugListener != null) {
|
||||
|
||||
@@ -64,9 +64,6 @@ public class ReactFeatureFlags {
|
||||
/** This feature flag enables logs for Fabric */
|
||||
public static boolean enableFabricLogs = false;
|
||||
|
||||
/** Feature flag to configure eager initialization of Fabric */
|
||||
public static boolean eagerInitializeFabric = false;
|
||||
|
||||
/** Enables Static ViewConfig in RN Android native code. */
|
||||
public static boolean enableExperimentalStaticViewConfigs = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user