diff --git a/patches/react-native-reanimated+3.8.1+003+fix-strict-mode.patch b/patches/react-native-reanimated+3.8.1+003+fix-strict-mode.patch index ccc208062d10..bd9c5da55f0e 100644 --- a/patches/react-native-reanimated+3.8.1+003+fix-strict-mode.patch +++ b/patches/react-native-reanimated+3.8.1+003+fix-strict-mode.patch @@ -10,27 +10,4 @@ index 3404e89..b545cb6 100644 + // react_native_assert(reanimatedCommitFlag_ != true); reanimatedCommitFlag_ = true; } - -diff --git a/node_modules/react-native-reanimated/lib/module/reanimated2/UpdateProps.js b/node_modules/react-native-reanimated/lib/module/reanimated2/UpdateProps.js -index e69c581..78b7034 100644 ---- a/node_modules/react-native-reanimated/lib/module/reanimated2/UpdateProps.js -+++ b/node_modules/react-native-reanimated/lib/module/reanimated2/UpdateProps.js -@@ -7,14 +7,11 @@ import { isFabric, isJest, shouldBeUseWeb } from './PlatformChecker'; - import { runOnUIImmediately } from './threads'; - let updateProps; - if (shouldBeUseWeb()) { -- updateProps = (_, updates, maybeViewRef, isAnimatedProps) => { -+ updateProps = (viewDescriptorsSet, updates, maybeViewRef, isAnimatedProps) => { - 'worklet'; -- -- if (maybeViewRef) { -- maybeViewRef.items.forEach((item, _index) => { -- _updatePropsJS(updates, item, isAnimatedProps); -- }); -- } -+ viewDescriptorsSet.value.forEach((viewDescriptor) => { -+ _updatePropsJS(updates, {_component: viewDescriptor.tag}, isAnimatedProps); -+ }) - }; - } else { - updateProps = (viewDescriptors, updates) => { +