Create feature flag for DOM trees in Fabric

Summary: Changelog: [internal]

Reviewed By: rshest

Differential Revision: D44088652

fbshipit-source-id: a289b6abbc46141943bb99d9003972eec84ba2da
This commit is contained in:
Rubén Norte
2023-03-15 08:36:40 -07:00
committed by Facebook GitHub Bot
parent 6c208c24d5
commit 913732b3a4
@@ -41,6 +41,10 @@ export type FeatureFlags = {|
* implementation
*/
isGlobalWebPerformanceLoggerEnabled: () => boolean,
/**
* Enables access to the host tree in Fabric using DOM-compatible APIs.
*/
enableAccessToHostTreeInFabric: () => boolean,
|};
const ReactNativeFeatureFlags: FeatureFlags = {
@@ -50,6 +54,7 @@ const ReactNativeFeatureFlags: FeatureFlags = {
animatedShouldDebounceQueueFlush: () => false,
animatedShouldUseSingleOp: () => false,
isGlobalWebPerformanceLoggerEnabled: () => false,
enableAccessToHostTreeInFabric: () => false,
};
module.exports = ReactNativeFeatureFlags;