Skip to content

Commit

Permalink
Create Feature Flag to Enable/Disable C++ Render System in JS
Browse files Browse the repository at this point in the history
Summary:
This diff creates a new Feature Flag to Enable/Disable C++ Render System in JS

Changelog: [Internal] Internal

Reviewed By: sammy-SC

Differential Revision: D38725771

fbshipit-source-id: 3a238781bec427274dbd8f7c045d360135d1803e
  • Loading branch information
mdvacca authored and facebook-github-bot committed Sep 15, 2022
1 parent 5fb0ad0 commit 399907f
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 @@ -38,6 +38,10 @@ export type FeatureFlags = {|
* traffic.
*/
animatedShouldUseSingleOp: () => boolean,
/**
* Enables C++ render system.
*/
enableCppRenderSystem: () => boolean,
|};

const ReactNativeFeatureFlags: FeatureFlags = {
Expand All @@ -46,6 +50,7 @@ const ReactNativeFeatureFlags: FeatureFlags = {
shouldPressibilityUseW3CPointerEventsForHover: () => false,
animatedShouldDebounceQueueFlush: () => false,
animatedShouldUseSingleOp: () => false,
enableCppRenderSystem: () => false,
};

module.exports = ReactNativeFeatureFlags;

0 comments on commit 399907f

Please sign in to comment.