Turn on lazy context propagation for RN and RTR (#31076)

Following https://github.com/facebook/react/pull/30935 let's turn this
on across the board so we can clean up experiments in RN.
This commit is contained in:
Jack Pope
2024-09-26 12:55:46 -04:00
committed by GitHub
parent 204a551eae
commit 60b1420f18
5 changed files with 4 additions and 5 deletions

View File

@@ -25,5 +25,4 @@ export const enablePersistedModeClonedFlag = __VARIANT__;
export const enableShallowPropDiffing = __VARIANT__;
export const passChildrenWhenCloningPersistedNodes = __VARIANT__;
export const enableFabricCompleteRootInCommitPhase = __VARIANT__;
export const enableLazyContextPropagation = __VARIANT__;
export const enableSiblingPrerendering = __VARIANT__;

View File

@@ -27,7 +27,6 @@ export const {
enablePersistedModeClonedFlag,
enableShallowPropDiffing,
passChildrenWhenCloningPersistedNodes,
enableLazyContextPropagation,
enableSiblingPrerendering,
} = dynamicFlags;
@@ -63,6 +62,7 @@ export const enableGetInspectorDataForInstanceInProduction = true;
export const enableHalt = false;
export const enableInfiniteRenderLoopDetection = true;
export const enableContextProfiling = false;
export const enableLazyContextPropagation = true;
export const enableLegacyCache = false;
export const enableLegacyFBSupport = false;
export const enableLegacyHidden = false;

View File

@@ -52,7 +52,7 @@ export const enableGetInspectorDataForInstanceInProduction = false;
export const enableHalt = false;
export const enableHiddenSubtreeInsertionEffectCleanup = false;
export const enableInfiniteRenderLoopDetection = true;
export const enableLazyContextPropagation = false;
export const enableLazyContextPropagation = true;
export const enableContextProfiling = false;
export const enableLegacyCache = false;
export const enableLegacyFBSupport = false;

View File

@@ -55,7 +55,7 @@ export const syncLaneExpirationMs = 250;
export const transitionLaneExpirationMs = 5000;
export const disableSchedulerTimeoutInWorkLoop = false;
export const enableLazyContextPropagation = __EXPERIMENTAL__;
export const enableLazyContextPropagation = true;
export const enableContextProfiling = false;
export const enableLegacyHidden = false;

View File

@@ -42,7 +42,7 @@ export const enableFlightReadableStream = true;
export const enableGetInspectorDataForInstanceInProduction = false;
export const enableHalt = false;
export const enableInfiniteRenderLoopDetection = true;
export const enableLazyContextPropagation = false;
export const enableLazyContextPropagation = true;
export const enableContextProfiling = false;
export const enableHiddenSubtreeInsertionEffectCleanup = true;
export const enableLegacyCache = false;