From 31c76341d14de44dc0f0dbc6055d600be9f81463 Mon Sep 17 00:00:00 2001 From: Tim Yung Date: Mon, 13 May 2024 21:42:35 -0700 Subject: [PATCH] Enable `enableUnifiedSyncLane` for React Native (Meta) --- packages/shared/forks/ReactFeatureFlags.native-fb-dynamic.js | 1 - packages/shared/forks/ReactFeatureFlags.native-fb.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/shared/forks/ReactFeatureFlags.native-fb-dynamic.js b/packages/shared/forks/ReactFeatureFlags.native-fb-dynamic.js index 2bd7edb7b1c0d..83ac39f888138 100644 --- a/packages/shared/forks/ReactFeatureFlags.native-fb-dynamic.js +++ b/packages/shared/forks/ReactFeatureFlags.native-fb-dynamic.js @@ -26,5 +26,4 @@ export const enableDeferRootSchedulingToMicrotask = __VARIANT__; export const enableFastJSX = __VARIANT__; export const enableInfiniteRenderLoopDetection = __VARIANT__; export const enableRefAsProp = __VARIANT__; -export const enableUnifiedSyncLane = __VARIANT__; export const passChildrenWhenCloningPersistedNodes = __VARIANT__; diff --git a/packages/shared/forks/ReactFeatureFlags.native-fb.js b/packages/shared/forks/ReactFeatureFlags.native-fb.js index 92fd9f4126178..af766b08fa2a1 100644 --- a/packages/shared/forks/ReactFeatureFlags.native-fb.js +++ b/packages/shared/forks/ReactFeatureFlags.native-fb.js @@ -28,7 +28,6 @@ export const { enableFastJSX, enableInfiniteRenderLoopDetection, enableRefAsProp, - enableUnifiedSyncLane, passChildrenWhenCloningPersistedNodes, } = dynamicFlags; @@ -42,6 +41,7 @@ export const enableProfilerTimer = __PROFILE__; export const enableProfilerCommitHooks = __PROFILE__; export const enableProfilerNestedUpdatePhase = __PROFILE__; export const enableUpdaterTracking = __PROFILE__; +export const enableUnifiedSyncLane = true; export const enableCache = true; export const enableComponentStackLocations = true; export const enableLegacyCache = false;