From 49381cd3ca3701f8dc1bf471a59118e7823fa574 Mon Sep 17 00:00:00 2001 From: lovegaoshi <106490582+lovegaoshi@users.noreply.github.com> Date: Thu, 24 Oct 2024 11:21:12 -0700 Subject: [PATCH] Create react-native-reanimated+3.16.1.patch track https://github.com/computerjazz/react-native-draggable-flatlist/issues/557 --- patches/react-native-reanimated+3.16.1.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 patches/react-native-reanimated+3.16.1.patch diff --git a/patches/react-native-reanimated+3.16.1.patch b/patches/react-native-reanimated+3.16.1.patch new file mode 100644 index 00000000..89fb7a41 --- /dev/null +++ b/patches/react-native-reanimated+3.16.1.patch @@ -0,0 +1,17 @@ +diff --git a/node_modules/react-native-reanimated/src/shareables.ts b/node_modules/react-native-reanimated/src/shareables.ts +index 44e961f..11bf641 100644 +--- a/node_modules/react-native-reanimated/src/shareables.ts ++++ b/node_modules/react-native-reanimated/src/shareables.ts +@@ -343,11 +343,7 @@ function freezeObjectIfDev(value: T) { + return element; + }, + set() { +- logger.warn( +- `Tried to modify key \`${key}\` of an object which has been already passed to a worklet. See +-https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#tried-to-modify-key-of-an-object-which-has-been-converted-to-a-shareable +-for more details.` +- ); ++ + }, + }); + });