From ecaac09bbd110946462b4f8c3bfb2319d74e229f Mon Sep 17 00:00:00 2001 From: Ricky Hanlon Date: Sun, 25 Feb 2024 15:43:00 -0500 Subject: [PATCH] Turn on enableRenderableContext for www --- packages/shared/forks/ReactFeatureFlags.test-renderer.www.js | 2 +- packages/shared/forks/ReactFeatureFlags.www-dynamic.js | 1 - packages/shared/forks/ReactFeatureFlags.www.js | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/shared/forks/ReactFeatureFlags.test-renderer.www.js b/packages/shared/forks/ReactFeatureFlags.test-renderer.www.js index 4a4142a3fc28c..1728537564267 100644 --- a/packages/shared/forks/ReactFeatureFlags.test-renderer.www.js +++ b/packages/shared/forks/ReactFeatureFlags.test-renderer.www.js @@ -49,7 +49,7 @@ export const enableComponentStackLocations = true; export const enableLegacyFBSupport = false; export const enableFilterEmptyStringAttributesDOM = true; export const enableGetInspectorDataForInstanceInProduction = false; -export const enableRenderableContext = false; +export const enableRenderableContext = true; export const enableRetryLaneExpiration = false; export const retryLaneExpirationMs = 5000; diff --git a/packages/shared/forks/ReactFeatureFlags.www-dynamic.js b/packages/shared/forks/ReactFeatureFlags.www-dynamic.js index 39fc234de2ad6..235fc6bbbb464 100644 --- a/packages/shared/forks/ReactFeatureFlags.www-dynamic.js +++ b/packages/shared/forks/ReactFeatureFlags.www-dynamic.js @@ -27,7 +27,6 @@ export const enableDeferRootSchedulingToMicrotask = __VARIANT__; export const alwaysThrottleRetries = __VARIANT__; export const enableDO_NOT_USE_disableStrictPassiveEffect = __VARIANT__; export const enableUseDeferredValueInitialArg = __VARIANT__; -export const enableRenderableContext = __VARIANT__; export const useModernStrictMode = __VARIANT__; export const enableRefAsProp = __VARIANT__; export const enableClientRenderFallbackOnTextMismatch = __VARIANT__; diff --git a/packages/shared/forks/ReactFeatureFlags.www.js b/packages/shared/forks/ReactFeatureFlags.www.js index 0b8263ca3edbe..1074b75463068 100644 --- a/packages/shared/forks/ReactFeatureFlags.www.js +++ b/packages/shared/forks/ReactFeatureFlags.www.js @@ -35,7 +35,6 @@ export const { syncLaneExpirationMs, transitionLaneExpirationMs, enableInfiniteRenderLoopDetection, - enableRenderableContext, useModernStrictMode, enableRefAsProp, enableClientRenderFallbackOnTextMismatch, @@ -54,7 +53,7 @@ export const enableUpdaterTracking = __PROFILE__; export const enableSuspenseAvoidThisFallback = true; export const enableSuspenseAvoidThisFallbackFizz = false; - +export const enableRenderableContext = true; export const enableCustomElementPropertySupport = true; export const enableCPUSuspense = true; export const enableFloat = true;