Skip to content

Commit 0f7583c

Browse files
committed
Enable owner stacks in OSS builds
1 parent 056073d commit 0f7583c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/react/index.stable.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export {
1111
__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
1212
__COMPILER_RUNTIME,
1313
act,
14+
captureOwnerStack,
1415
Children,
1516
Component,
1617
Fragment,

packages/shared/ReactFeatureFlags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export const passChildrenWhenCloningPersistedNodes = false;
132132
*/
133133
export const enablePersistedModeClonedFlag = false;
134134

135-
export const enableOwnerStacks = __EXPERIMENTAL__;
135+
export const enableOwnerStacks = true;
136136

137137
export const enableShallowPropDiffing = false;
138138

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const enableReactTestRendererWarning = true;
8787
export const disableDefaultPropsExceptForClasses = true;
8888

8989
export const enableObjectFiber = false;
90-
export const enableOwnerStacks = false;
90+
export const enableOwnerStacks = true;
9191

9292
// Flow magic to verify the exports of this file match the original version.
9393
((((null: any): ExportsType): FeatureFlagsType): ExportsType);

0 commit comments

Comments
 (0)