mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Prevent initialization of constants for view managers for users with static view config enabled
Summary: This diff prevents the pre-calculation of ViewManager's constants for users with static view config enabled. We still load viewManager classes and create viewManger objects for perf reasons Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D25414068 fbshipit-source-id: a91f6113e35b42625c03d13bd67b63e3f9f75098
This commit is contained in:
committed by
Facebook GitHub Bot
parent
408bcdeedb
commit
9c827f6201
@@ -100,4 +100,7 @@ public class ReactFeatureFlags {
|
||||
|
||||
/** Enables the usage of an experimental optimized iterator for ReadableNativeMaps. */
|
||||
public static boolean enableExperimentalReadableNativeMapIterator = false;
|
||||
|
||||
/** Enables Static ViewConfig in RN Android native code. */
|
||||
public static boolean enableExperimentalStaticViewConfigs = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user