mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
add experiment for running the JS on view creation
Summary: Changelog: [Internal] # Context Whilst looking at Marketplace Loom traces, ShikaSD made the remark that we could potentially start the JS work much earlier instead of waiting for the View.onMeasure call, a behaviour that is already built-in Venice. Reviewed By: ShikaSD Differential Revision: D32559505 fbshipit-source-id: cc6337955ad2b6a6581a0347f1f976679eaca54d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
db21584ba0
commit
2dd33b16df
@@ -80,6 +80,9 @@ public class ReactFeatureFlags {
|
||||
/** Feature flag to configure eager initialization of MapBuffer So file */
|
||||
public static boolean enableEagerInitializeMapBufferSoFile = false;
|
||||
|
||||
/** Feature flag to configure eager attachment of the root view/initialisation of the JS code */
|
||||
public static boolean enableEagerRootViewAttachment = false;
|
||||
|
||||
private static boolean mapBufferSerializationEnabled = false;
|
||||
|
||||
/** Enables or disables MapBuffer Serialization */
|
||||
|
||||
Reference in New Issue
Block a user