Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ const definitions: FeatureFlagDefinitions = {
ossReleaseStage: 'none',
},
animatedShouldUseSingleOp: {
defaultValue: false,
defaultValue: true,
metadata: {
dateAdded: '2024-02-05',
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ const singleOpQueue: Array<unknown> = [];
const isSingleOpBatching =
Platform.OS === 'android' &&
NativeAnimatedModule?.queueAndExecuteBatchedOperations != null &&
ReactNativeFeatureFlags.animatedShouldUseSingleOp();
ReactNativeFeatureFlags.animatedShouldUseSingleOp() &&
!ReactNativeFeatureFlags.cxxNativeAnimatedEnabled();
let flushQueueImmediate = null;

const eventListenerGetValueCallbacks: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<c9804d0743d9a9d905193cb02816da46>>
* @generated SignedSource<<f44477b5f5a4f7030798a61694d0332a>>
* @flow strict
* @noformat
*/
Expand Down Expand Up @@ -164,7 +164,7 @@ export const animatedShouldSyncValueBeforeStartCallback: Getter<boolean> = creat
/**
* Enables an experimental mega-operation for Animated.js that replaces many calls to native with a single call into native, to reduce JSI/JNI traffic.
*/
export const animatedShouldUseSingleOp: Getter<boolean> = createJavaScriptFlagGetter('animatedShouldUseSingleOp', false);
export const animatedShouldUseSingleOp: Getter<boolean> = createJavaScriptFlagGetter('animatedShouldUseSingleOp', true);

/**
* Use the deferred cell render update mechanism for focus change in FlatList.
Expand Down
Loading