File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed
Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import {lazy} from './ReactLazy';
2828import { memo } from './ReactMemo' ;
2929import { cache } from './ReactCacheServer' ;
3030import version from 'shared/ReactVersion' ;
31+ import { captureOwnerStack } from './ReactOwnerStack' ;
3132
3233const Children = {
3334 map,
@@ -57,4 +58,5 @@ export {
5758 useDebugValue ,
5859 useMemo ,
5960 version ,
61+ captureOwnerStack , // DEV-only
6062} ;
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ export const passChildrenWhenCloningPersistedNodes = false;
132132 */
133133export const enablePersistedModeClonedFlag = false ;
134134
135- export const enableOwnerStacks = __EXPERIMENTAL__ ;
135+ export const enableOwnerStacks = true ;
136136
137137export const enableShallowPropDiffing = false ;
138138
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export const enableReactTestRendererWarning = true;
8787export const disableDefaultPropsExceptForClasses = true ;
8888
8989export 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 ) ;
You can’t perform that action at this time.
0 commit comments