From a5aed1294f91cfc58e20439ce8eee5a183f899d6 Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Thu, 25 Jan 2024 03:44:22 -0800 Subject: [PATCH] enable setNativeProps in animations on by default (#42603) Summary: Changelog: [General][Added] Enable setNativeProps in animations in the New Architecture Pull Request resolved: https://github.com/facebook/react-native/pull/42603 Enabling setNativeProps in animations on by default. Reviewed By: mdvacca Differential Revision: D52962882 fbshipit-source-id: 67921c8e36e97b7b1315dfa0d5f3bd708ccb0079 --- .../Libraries/ReactNative/ReactNativeFeatureFlags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/Libraries/ReactNative/ReactNativeFeatureFlags.js b/packages/react-native/Libraries/ReactNative/ReactNativeFeatureFlags.js index 1326c2346cb..d32d258d322 100644 --- a/packages/react-native/Libraries/ReactNative/ReactNativeFeatureFlags.js +++ b/packages/react-native/Libraries/ReactNative/ReactNativeFeatureFlags.js @@ -58,7 +58,7 @@ const ReactNativeFeatureFlags: FeatureFlags = { animatedShouldUseSingleOp: () => false, enableAccessToHostTreeInFabric: () => false, shouldUseAnimatedObjectForTransform: () => false, - shouldUseSetNativePropsInFabric: () => false, + shouldUseSetNativePropsInFabric: () => true, }; module.exports = ReactNativeFeatureFlags;