Skip to content

Commit 399907f

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Create Feature Flag to Enable/Disable C++ Render System in JS
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
1 parent 5fb0ad0 commit 399907f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Libraries/ReactNative/ReactNativeFeatureFlags.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ export type FeatureFlags = {|
3838
* traffic.
3939
*/
4040
animatedShouldUseSingleOp: () => boolean,
41+
/**
42+
* Enables C++ render system.
43+
*/
44+
enableCppRenderSystem: () => boolean,
4145
|};
4246

4347
const ReactNativeFeatureFlags: FeatureFlags = {
@@ -46,6 +50,7 @@ const ReactNativeFeatureFlags: FeatureFlags = {
4650
shouldPressibilityUseW3CPointerEventsForHover: () => false,
4751
animatedShouldDebounceQueueFlush: () => false,
4852
animatedShouldUseSingleOp: () => false,
53+
enableCppRenderSystem: () => false,
4954
};
5055

5156
module.exports = ReactNativeFeatureFlags;

0 commit comments

Comments
 (0)