mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Refactor MapBuffer experimental setup: use one config for all Props, with a Trait to indicate support
Summary: Instead of having a special flag just for View MapBuffer props, we now use one flag to indicate that MapBuffer should be used for all props; each XShadowNode must set a special trait indicating if that ShadowNode supports MapBuffer props. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D38708718 fbshipit-source-id: b398ec62a0db9c0ff23c0007c5503cf2838c4173
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4363626701
commit
403fea25f6
@@ -79,6 +79,9 @@ public class ReactFeatureFlags {
|
||||
/** Enables or disables MapBuffer Serialization */
|
||||
public static boolean mapBufferSerializationEnabled = false;
|
||||
|
||||
/* Enables or disables MapBuffer use in Props infrastructure. */
|
||||
public static boolean useMapBufferProps = false;
|
||||
|
||||
/** Enables or disables calculation of Transformed Frames */
|
||||
public static boolean calculateTransformedFramesEnabled = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user