Skip to content

Commit 0fc7886

Browse files
committed
[RN] Move unifiedSyncLane back to dynamic
1 parent aaa4acb commit 0fc7886

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

packages/shared/forks/ReactFeatureFlags.native-fb-dynamic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const enableDeferRootSchedulingToMicrotask = __VARIANT__;
2626
export const enableUseRefAccessWarning = __VARIANT__;
2727
export const passChildrenWhenCloningPersistedNodes = __VARIANT__;
2828
export const useMicrotasksForSchedulingInFabric = __VARIANT__;
29+
export const enableUnifiedSyncLane = __VARIANT__;
2930

3031
// Flow magic to verify the exports of this file match the original version.
3132
((((null: any): ExportsType): DynamicFlagsType): ExportsType);

packages/shared/forks/ReactFeatureFlags.native-fb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const {
2424
enableUseRefAccessWarning,
2525
passChildrenWhenCloningPersistedNodes,
2626
useMicrotasksForSchedulingInFabric,
27+
enableUnifiedSyncLane,
2728
} = dynamicFlags;
2829

2930
// The rest of the flags are static for better dead code elimination.
@@ -51,7 +52,6 @@ export const disableInputAttributeSyncing = false;
5152
export const disableIEWorkarounds = true;
5253
export const replayFailedUnitOfWorkWithInvokeGuardedCallback = __DEV__;
5354
export const enableScopeAPI = false;
54-
export const enableUnifiedSyncLane = true;
5555
export const enableCreateEventHandleAPI = false;
5656
export const enableSuspenseCallback = false;
5757
export const disableLegacyContext = false;

scripts/flow/xplat.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ declare module 'ReactNativeInternalFeatureFlags' {
1414
declare export var enableUseRefAccessWarning: boolean;
1515
declare export var passChildrenWhenCloningPersistedNodes: boolean;
1616
declare export var useMicrotasksForSchedulingInFabric: boolean;
17+
declare export var enableUnifiedSyncLane: boolean;
1718
}

0 commit comments

Comments
 (0)