Skip to content

Commit

Permalink
Create feature flag for DOM trees in Fabric
Browse files Browse the repository at this point in the history
Summary: Changelog: [internal]

Reviewed By: rshest

Differential Revision: D44088652

fbshipit-source-id: a289b6abbc46141943bb99d9003972eec84ba2da
  • Loading branch information
rubennorte authored and facebook-github-bot committed Mar 15, 2023
1 parent 6c208c2 commit 913732b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Libraries/ReactNative/ReactNativeFeatureFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -50,6 +54,7 @@ const ReactNativeFeatureFlags: FeatureFlags = {
animatedShouldDebounceQueueFlush: () => false,
animatedShouldUseSingleOp: () => false,
isGlobalWebPerformanceLoggerEnabled: () => false,
enableAccessToHostTreeInFabric: () => false,
};

module.exports = ReactNativeFeatureFlags;

0 comments on commit 913732b

Please sign in to comment.