Skip to content

Commit a2470c8

Browse files
committed
Add Feature Flag
1 parent 04b0588 commit a2470c8

7 files changed

+14
-0
lines changed

packages/shared/ReactFeatureFlags.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ export const enableEarlyReturnForPropDiffing = false;
125125

126126
export const enableAddPropertiesFastPath = false;
127127

128+
export const enableOwnerStacks = __EXPERIMENTAL__;
129+
128130
/**
129131
* Enables an expiration time for retry lanes to avoid starvation.
130132
*/

packages/shared/forks/ReactFeatureFlags.native-fb.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,7 @@ export const enableReactTestRendererWarning = false;
100100
export const disableLegacyMode = false;
101101
export const disableDOMTestUtils = false;
102102

103+
export const enableOwnerStacks = false;
104+
103105
// Flow magic to verify the exports of this file match the original version.
104106
((((null: any): ExportsType): FeatureFlagsType): ExportsType);

packages/shared/forks/ReactFeatureFlags.native-oss.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ export const enableAddPropertiesFastPath = false;
107107

108108
export const renameElementSymbol = true;
109109

110+
export const enableOwnerStacks = __EXPERIMENTAL__;
111+
110112
// Profiling Only
111113
export const enableProfilerTimer = __PROFILE__;
112114
export const enableProfilerCommitHooks = __PROFILE__;

packages/shared/forks/ReactFeatureFlags.test-renderer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,7 @@ export const enableRenderableContext = true;
9898
export const enableReactTestRendererWarning = true;
9999
export const disableDefaultPropsExceptForClasses = true;
100100

101+
export const enableOwnerStacks = false;
102+
101103
// Flow magic to verify the exports of this file match the original version.
102104
((((null: any): ExportsType): FeatureFlagsType): ExportsType);

packages/shared/forks/ReactFeatureFlags.test-renderer.native-fb.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,7 @@ export const enableAddPropertiesFastPath = false;
9393

9494
export const renameElementSymbol = false;
9595

96+
export const enableOwnerStacks = false;
97+
9698
// Flow magic to verify the exports of this file match the original version.
9799
((((null: any): ExportsType): FeatureFlagsType): ExportsType);

packages/shared/forks/ReactFeatureFlags.test-renderer.www.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,7 @@ export const enableAddPropertiesFastPath = false;
9393

9494
export const renameElementSymbol = false;
9595

96+
export const enableOwnerStacks = false;
97+
9698
// Flow magic to verify the exports of this file match the original version.
9799
((((null: any): ExportsType): FeatureFlagsType): ExportsType);

packages/shared/forks/ReactFeatureFlags.www.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,7 @@ export const disableLegacyMode = __EXPERIMENTAL__;
123123
export const disableDOMTestUtils = false;
124124
export const enableEarlyReturnForPropDiffing = false;
125125

126+
export const enableOwnerStacks = false;
127+
126128
// Flow magic to verify the exports of this file match the original version.
127129
((((null: any): ExportsType): FeatureFlagsType): ExportsType);

0 commit comments

Comments
 (0)