From 913732b3a454d4f968e2036d3bc2bf63ddf96378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Wed, 15 Mar 2023 08:36:40 -0700 Subject: [PATCH] Create feature flag for DOM trees in Fabric Summary: Changelog: [internal] Reviewed By: rshest Differential Revision: D44088652 fbshipit-source-id: a289b6abbc46141943bb99d9003972eec84ba2da --- Libraries/ReactNative/ReactNativeFeatureFlags.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Libraries/ReactNative/ReactNativeFeatureFlags.js b/Libraries/ReactNative/ReactNativeFeatureFlags.js index 887a30419f4c63..8881d287fe5727 100644 --- a/Libraries/ReactNative/ReactNativeFeatureFlags.js +++ b/Libraries/ReactNative/ReactNativeFeatureFlags.js @@ -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;