From f2a0ad9ce28ad5fdee399423ab2c458467aea1e5 Mon Sep 17 00:00:00 2001 From: Rick Hanlon Date: Mon, 12 Feb 2024 21:34:22 -0500 Subject: [PATCH] Enable more noop RN flags --- packages/shared/forks/ReactFeatureFlags.native-fb.js | 2 +- packages/shared/forks/ReactFeatureFlags.native-oss.js | 4 ++-- packages/shared/forks/ReactFeatureFlags.test-renderer.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/shared/forks/ReactFeatureFlags.native-fb.js b/packages/shared/forks/ReactFeatureFlags.native-fb.js index 497a5b6bcf3a6..f7341a457e7a6 100644 --- a/packages/shared/forks/ReactFeatureFlags.native-fb.js +++ b/packages/shared/forks/ReactFeatureFlags.native-fb.js @@ -87,7 +87,7 @@ export const enableFloat = true; export const useModernStrictMode = false; export const enableDO_NOT_USE_disableStrictPassiveEffect = false; -export const enableFizzExternalRuntime = false; +export const enableFizzExternalRuntime = true; export const enableAsyncActions = false; export const enableUseDeferredValueInitialArg = true; diff --git a/packages/shared/forks/ReactFeatureFlags.native-oss.js b/packages/shared/forks/ReactFeatureFlags.native-oss.js index 67b220974b517..0b184c3cb7164 100644 --- a/packages/shared/forks/ReactFeatureFlags.native-oss.js +++ b/packages/shared/forks/ReactFeatureFlags.native-oss.js @@ -22,7 +22,7 @@ export const enableProfilerNestedUpdateScheduledHook = false; export const enableUpdaterTracking = __PROFILE__; export const enableCache = false; export const enableLegacyCache = false; -export const enableCacheElement = false; +export const enableCacheElement = true; export const enableFetchInstrumentation = false; export const enableFormActions = true; // Doesn't affect Native export const enableBinaryFlight = true; @@ -73,7 +73,7 @@ export const enableFloat = true; export const useModernStrictMode = false; export const enableDO_NOT_USE_disableStrictPassiveEffect = false; -export const enableFizzExternalRuntime = false; +export const enableFizzExternalRuntime = true; export const enableDeferRootSchedulingToMicrotask = false; export const enableInfiniteRenderLoopDetection = false; diff --git a/packages/shared/forks/ReactFeatureFlags.test-renderer.js b/packages/shared/forks/ReactFeatureFlags.test-renderer.js index 63025e79fb18b..c26307093a1ea 100644 --- a/packages/shared/forks/ReactFeatureFlags.test-renderer.js +++ b/packages/shared/forks/ReactFeatureFlags.test-renderer.js @@ -73,7 +73,7 @@ export const enableFloat = true; export const useModernStrictMode = false; export const enableDO_NOT_USE_disableStrictPassiveEffect = false; -export const enableFizzExternalRuntime = false; +export const enableFizzExternalRuntime = true; export const enableDeferRootSchedulingToMicrotask = true; export const enableAsyncActions = true;