Skip to content

Commit 5e9ee0a

Browse files
authored
chore(⬆️): Upgrade to Reanimated 4 (#300)
1 parent a9cec62 commit 5e9ee0a

4 files changed

Lines changed: 159 additions & 72 deletions

File tree

apps/example/ios/Podfile.lock

Lines changed: 48 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,7 +1865,7 @@ PODS:
18651865
- ReactCommon/turbomodule/core
18661866
- SocketRocket
18671867
- Yoga
1868-
- react-native-wgpu (0.4.1):
1868+
- react-native-wgpu (0.4.2):
18691869
- boost
18701870
- DoubleConversion
18711871
- fast_float
@@ -2460,7 +2460,7 @@ PODS:
24602460
- ReactCommon/turbomodule/core
24612461
- SocketRocket
24622462
- Yoga
2463-
- RNReanimated (3.19.1):
2463+
- RNReanimated (4.2.1):
24642464
- boost
24652465
- DoubleConversion
24662466
- fast_float
@@ -2487,11 +2487,11 @@ PODS:
24872487
- ReactCodegen
24882488
- ReactCommon/turbomodule/bridging
24892489
- ReactCommon/turbomodule/core
2490-
- RNReanimated/reanimated (= 3.19.1)
2491-
- RNReanimated/worklets (= 3.19.1)
2490+
- RNReanimated/reanimated (= 4.2.1)
2491+
- RNWorklets
24922492
- SocketRocket
24932493
- Yoga
2494-
- RNReanimated/reanimated (3.19.1):
2494+
- RNReanimated/reanimated (4.2.1):
24952495
- boost
24962496
- DoubleConversion
24972497
- fast_float
@@ -2518,10 +2518,11 @@ PODS:
25182518
- ReactCodegen
25192519
- ReactCommon/turbomodule/bridging
25202520
- ReactCommon/turbomodule/core
2521-
- RNReanimated/reanimated/apple (= 3.19.1)
2521+
- RNReanimated/reanimated/apple (= 4.2.1)
2522+
- RNWorklets
25222523
- SocketRocket
25232524
- Yoga
2524-
- RNReanimated/reanimated/apple (3.19.1):
2525+
- RNReanimated/reanimated/apple (4.2.1):
25252526
- boost
25262527
- DoubleConversion
25272528
- fast_float
@@ -2548,9 +2549,10 @@ PODS:
25482549
- ReactCodegen
25492550
- ReactCommon/turbomodule/bridging
25502551
- ReactCommon/turbomodule/core
2552+
- RNWorklets
25512553
- SocketRocket
25522554
- Yoga
2553-
- RNReanimated/worklets (3.19.1):
2555+
- RNWorklets (0.7.1):
25542556
- boost
25552557
- DoubleConversion
25562558
- fast_float
@@ -2577,10 +2579,40 @@ PODS:
25772579
- ReactCodegen
25782580
- ReactCommon/turbomodule/bridging
25792581
- ReactCommon/turbomodule/core
2580-
- RNReanimated/worklets/apple (= 3.19.1)
2582+
- RNWorklets/worklets (= 0.7.1)
25812583
- SocketRocket
25822584
- Yoga
2583-
- RNReanimated/worklets/apple (3.19.1):
2585+
- RNWorklets/worklets (0.7.1):
2586+
- boost
2587+
- DoubleConversion
2588+
- fast_float
2589+
- fmt
2590+
- glog
2591+
- hermes-engine
2592+
- RCT-Folly
2593+
- RCT-Folly/Fabric
2594+
- RCTRequired
2595+
- RCTTypeSafety
2596+
- React-Core
2597+
- React-debug
2598+
- React-Fabric
2599+
- React-featureflags
2600+
- React-graphics
2601+
- React-hermes
2602+
- React-ImageManager
2603+
- React-jsi
2604+
- React-NativeModulesApple
2605+
- React-RCTFabric
2606+
- React-renderercss
2607+
- React-rendererdebug
2608+
- React-utils
2609+
- ReactCodegen
2610+
- ReactCommon/turbomodule/bridging
2611+
- ReactCommon/turbomodule/core
2612+
- RNWorklets/worklets/apple (= 0.7.1)
2613+
- SocketRocket
2614+
- Yoga
2615+
- RNWorklets/worklets/apple (0.7.1):
25842616
- boost
25852617
- DoubleConversion
25862618
- fast_float
@@ -2692,6 +2724,7 @@ DEPENDENCIES:
26922724
- ReactTestApp-Resources (from `..`)
26932725
- RNGestureHandler (from `../../../node_modules/react-native-gesture-handler`)
26942726
- RNReanimated (from `../../../node_modules/react-native-reanimated`)
2727+
- RNWorklets (from `../../../node_modules/react-native-worklets`)
26952728
- SocketRocket (~> 0.7.1)
26962729
- Yoga (from `../../../node_modules/react-native/ReactCommon/yoga`)
26972730

@@ -2857,6 +2890,8 @@ EXTERNAL SOURCES:
28572890
:path: "../../../node_modules/react-native-gesture-handler"
28582891
RNReanimated:
28592892
:path: "../../../node_modules/react-native-reanimated"
2893+
RNWorklets:
2894+
:path: "../../../node_modules/react-native-worklets"
28602895
Yoga:
28612896
:path: "../../../node_modules/react-native/ReactCommon/yoga"
28622897

@@ -2903,7 +2938,7 @@ SPEC CHECKSUMS:
29032938
React-microtasksnativemodule: 75b6604b667d297292345302cc5bfb6b6aeccc1b
29042939
react-native-safe-area-context: c6e2edd1c1da07bdce287fa9d9e60c5f7b514616
29052940
react-native-skia: 5bf2b2107cd7f2d806fd364f5e16b1c7554ed3cd
2906-
react-native-wgpu: 9b91079473265b91dc2c60c692845b70a4f0182b
2941+
react-native-wgpu: 8b91bdc8de384f0fce7dd622698e46645895b085
29072942
React-NativeModulesApple: 879fbdc5dcff7136abceb7880fe8a2022a1bd7c3
29082943
React-oscompat: 93b5535ea7f7dff46aaee4f78309a70979bdde9d
29092944
React-perflogger: 5536d2df3d18fe0920263466f7b46a56351c0510
@@ -2938,7 +2973,8 @@ SPEC CHECKSUMS:
29382973
ReactTestApp-DevSupport: 9b7bbba5e8fed998e763809171d9906a1375f9d3
29392974
ReactTestApp-Resources: 1bd9ff10e4c24f2ad87101a32023721ae923bccf
29402975
RNGestureHandler: 3a73f098d74712952870e948b3d9cf7b6cae9961
2941-
RNReanimated: 4e53390354d1eed1398ab51ace22b869be6ce611
2976+
RNReanimated: 464375ff2caa801358547c44eca894ff0bf68e74
2977+
RNWorklets: 8068c8af4b241eb2c19221310729e4c440bee023
29422978
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
29432979
Yoga: a3ed390a19db0459bd6839823a6ac6d9c6db198d
29442980

apps/example/macos/Podfile.lock

Lines changed: 54 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,7 @@ PODS:
17481748
- React-RCTFBReactNativeSpec
17491749
- ReactCommon/turbomodule/core
17501750
- SocketRocket
1751-
- react-native-safe-area-context (5.4.0):
1751+
- react-native-safe-area-context (5.6.1):
17521752
- boost
17531753
- DoubleConversion
17541754
- fast_float
@@ -1766,8 +1766,8 @@ PODS:
17661766
- React-graphics
17671767
- React-ImageManager
17681768
- React-jsi
1769-
- react-native-safe-area-context/common (= 5.4.0)
1770-
- react-native-safe-area-context/fabric (= 5.4.0)
1769+
- react-native-safe-area-context/common (= 5.6.1)
1770+
- react-native-safe-area-context/fabric (= 5.6.1)
17711771
- React-NativeModulesApple
17721772
- React-RCTFabric
17731773
- React-renderercss
@@ -1778,7 +1778,7 @@ PODS:
17781778
- ReactCommon/turbomodule/core
17791779
- SocketRocket
17801780
- Yoga
1781-
- react-native-safe-area-context/common (5.4.0):
1781+
- react-native-safe-area-context/common (5.6.1):
17821782
- boost
17831783
- DoubleConversion
17841784
- fast_float
@@ -1806,7 +1806,7 @@ PODS:
18061806
- ReactCommon/turbomodule/core
18071807
- SocketRocket
18081808
- Yoga
1809-
- react-native-safe-area-context/fabric (5.4.0):
1809+
- react-native-safe-area-context/fabric (5.6.1):
18101810
- boost
18111811
- DoubleConversion
18121812
- fast_float
@@ -1865,7 +1865,7 @@ PODS:
18651865
- ReactCommon/turbomodule/core
18661866
- SocketRocket
18671867
- Yoga
1868-
- react-native-wgpu (0.2.7):
1868+
- react-native-wgpu (0.4.2):
18691869
- boost
18701870
- DoubleConversion
18711871
- fast_float
@@ -2460,7 +2460,7 @@ PODS:
24602460
- ReactCommon/turbomodule/core
24612461
- SocketRocket
24622462
- Yoga
2463-
- RNReanimated (3.19.1):
2463+
- RNReanimated (4.2.1):
24642464
- boost
24652465
- DoubleConversion
24662466
- fast_float
@@ -2487,11 +2487,11 @@ PODS:
24872487
- ReactCodegen
24882488
- ReactCommon/turbomodule/bridging
24892489
- ReactCommon/turbomodule/core
2490-
- RNReanimated/reanimated (= 3.19.1)
2491-
- RNReanimated/worklets (= 3.19.1)
2490+
- RNReanimated/reanimated (= 4.2.1)
2491+
- RNWorklets
24922492
- SocketRocket
24932493
- Yoga
2494-
- RNReanimated/reanimated (3.19.1):
2494+
- RNReanimated/reanimated (4.2.1):
24952495
- boost
24962496
- DoubleConversion
24972497
- fast_float
@@ -2518,10 +2518,11 @@ PODS:
25182518
- ReactCodegen
25192519
- ReactCommon/turbomodule/bridging
25202520
- ReactCommon/turbomodule/core
2521-
- RNReanimated/reanimated/apple (= 3.19.1)
2521+
- RNReanimated/reanimated/apple (= 4.2.1)
2522+
- RNWorklets
25222523
- SocketRocket
25232524
- Yoga
2524-
- RNReanimated/reanimated/apple (3.19.1):
2525+
- RNReanimated/reanimated/apple (4.2.1):
25252526
- boost
25262527
- DoubleConversion
25272528
- fast_float
@@ -2548,9 +2549,10 @@ PODS:
25482549
- ReactCodegen
25492550
- ReactCommon/turbomodule/bridging
25502551
- ReactCommon/turbomodule/core
2552+
- RNWorklets
25512553
- SocketRocket
25522554
- Yoga
2553-
- RNReanimated/worklets (3.19.1):
2555+
- RNWorklets (0.7.1):
25542556
- boost
25552557
- DoubleConversion
25562558
- fast_float
@@ -2577,10 +2579,40 @@ PODS:
25772579
- ReactCodegen
25782580
- ReactCommon/turbomodule/bridging
25792581
- ReactCommon/turbomodule/core
2580-
- RNReanimated/worklets/apple (= 3.19.1)
2582+
- RNWorklets/worklets (= 0.7.1)
25812583
- SocketRocket
25822584
- Yoga
2583-
- RNReanimated/worklets/apple (3.19.1):
2585+
- RNWorklets/worklets (0.7.1):
2586+
- boost
2587+
- DoubleConversion
2588+
- fast_float
2589+
- fmt
2590+
- glog
2591+
- hermes-engine
2592+
- RCT-Folly
2593+
- RCT-Folly/Fabric
2594+
- RCTRequired
2595+
- RCTTypeSafety
2596+
- React-Core
2597+
- React-debug
2598+
- React-Fabric
2599+
- React-featureflags
2600+
- React-graphics
2601+
- React-hermes
2602+
- React-ImageManager
2603+
- React-jsi
2604+
- React-NativeModulesApple
2605+
- React-RCTFabric
2606+
- React-renderercss
2607+
- React-rendererdebug
2608+
- React-utils
2609+
- ReactCodegen
2610+
- ReactCommon/turbomodule/bridging
2611+
- ReactCommon/turbomodule/core
2612+
- RNWorklets/worklets/apple (= 0.7.1)
2613+
- SocketRocket
2614+
- Yoga
2615+
- RNWorklets/worklets/apple (0.7.1):
25842616
- boost
25852617
- DoubleConversion
25862618
- fast_float
@@ -2692,6 +2724,7 @@ DEPENDENCIES:
26922724
- ReactTestApp-Resources (from `..`)
26932725
- RNGestureHandler (from `../../../node_modules/react-native-gesture-handler`)
26942726
- RNReanimated (from `../../../node_modules/react-native-reanimated`)
2727+
- RNWorklets (from `../../../node_modules/react-native-worklets`)
26952728
- SocketRocket (~> 0.7.1)
26962729
- Yoga (from `../../../node_modules/react-native/ReactCommon/yoga`)
26972730

@@ -2857,6 +2890,8 @@ EXTERNAL SOURCES:
28572890
:path: "../../../node_modules/react-native-gesture-handler"
28582891
RNReanimated:
28592892
:path: "../../../node_modules/react-native-reanimated"
2893+
RNWorklets:
2894+
:path: "../../../node_modules/react-native-worklets"
28602895
Yoga:
28612896
:path: "../../../node_modules/react-native/ReactCommon/yoga"
28622897

@@ -2901,9 +2936,9 @@ SPEC CHECKSUMS:
29012936
React-logger: a3cb5b29c32b8e447b5a96919340e89334062b48
29022937
React-Mapbuffer: 9d2434a42701d6144ca18f0ca1c4507808ca7696
29032938
React-microtasksnativemodule: 75b6604b667d297292345302cc5bfb6b6aeccc1b
2904-
react-native-safe-area-context: 84f35326241e8a61b9e3b6f69e1bf098da4c5642
2939+
react-native-safe-area-context: c6e2edd1c1da07bdce287fa9d9e60c5f7b514616
29052940
react-native-skia: 5bf2b2107cd7f2d806fd364f5e16b1c7554ed3cd
2906-
react-native-wgpu: cf92463dcf22589d51d1e314d40732bb2c5fc9d0
2941+
react-native-wgpu: 8b91bdc8de384f0fce7dd622698e46645895b085
29072942
React-NativeModulesApple: 879fbdc5dcff7136abceb7880fe8a2022a1bd7c3
29082943
React-oscompat: 93b5535ea7f7dff46aaee4f78309a70979bdde9d
29092944
React-perflogger: 5536d2df3d18fe0920263466f7b46a56351c0510
@@ -2938,7 +2973,8 @@ SPEC CHECKSUMS:
29382973
ReactTestApp-DevSupport: 9b7bbba5e8fed998e763809171d9906a1375f9d3
29392974
ReactTestApp-Resources: 1bd9ff10e4c24f2ad87101a32023721ae923bccf
29402975
RNGestureHandler: 3a73f098d74712952870e948b3d9cf7b6cae9961
2941-
RNReanimated: 4e53390354d1eed1398ab51ace22b869be6ce611
2976+
RNReanimated: 464375ff2caa801358547c44eca894ff0bf68e74
2977+
RNWorklets: 8068c8af4b241eb2c19221310729e4c440bee023
29422978
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
29432979
Yoga: a3ed390a19db0459bd6839823a6ac6d9c6db198d
29442980

apps/example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@
3333
"react-native": "0.81.4",
3434
"react-native-gesture-handler": "^2.28.0",
3535
"react-native-macos": "^0.79.0",
36-
"react-native-reanimated": "3.19.1",
36+
"react-native-reanimated": "4.2.1",
3737
"react-native-safe-area-context": "^5.4.0",
3838
"react-native-web": "^0.21.2",
3939
"react-native-wgpu": "*",
40+
"react-native-worklets": "0.7.1",
4041
"teapot": "^1.0.0",
4142
"three": "0.172.0",
4243
"typegpu": "^0.3.2",

0 commit comments

Comments
 (0)