Skip to content

Commit 9515f2d

Browse files
authored
fix: revert reanimated version (#3630)
## 🎯 Goal This PR reverts the `react-native-reanimated` version of our `SampleApp` as it would appear version `4.4.0` has some severe performance issues of layout animations on the latest version, likely related to the new animation backend refactoring. ## 🛠 Implementation details <!-- Provide a description of the implementation --> ## 🎨 UI Changes <!-- Add relevant screenshots --> <details> <summary>iOS</summary> <table> <thead> <tr> <td>Before</td> <td>After</td> </tr> </thead> <tbody> <tr> <td> <!--<img src="" /> --> </td> <td> <!--<img src="" /> --> </td> </tr> </tbody> </table> </details> <details> <summary>Android</summary> <table> <thead> <tr> <td>Before</td> <td>After</td> </tr> </thead> <tbody> <tr> <td> <!--<img src="" /> --> </td> <td> <!--<img src="" /> --> </td> </tr> </tbody> </table> </details> ## 🧪 Testing <!-- Explain how this change can be tested (or why it can't be tested) --> ## ☑️ Checklist - [ ] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required) - [ ] PR targets the `develop` branch - [ ] Documentation is updated - [ ] New code is tested in main example apps, including all possible scenarios - [ ] SampleApp iOS and Android - [ ] Expo iOS and Android
1 parent 5a6afb1 commit 9515f2d

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

examples/SampleApp/ios/Podfile.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2526,7 +2526,7 @@ PODS:
25262526
- ReactCommon/turbomodule/core
25272527
- ReactNativeDependencies
25282528
- Yoga
2529-
- RNReanimated (4.4.0):
2529+
- RNReanimated (4.3.1):
25302530
- hermes-engine
25312531
- RCTRequired
25322532
- RCTTypeSafety
@@ -2548,11 +2548,11 @@ PODS:
25482548
- ReactCommon/turbomodule/bridging
25492549
- ReactCommon/turbomodule/core
25502550
- ReactNativeDependencies
2551-
- RNReanimated/apple (= 4.4.0)
2552-
- RNReanimated/common (= 4.4.0)
2551+
- RNReanimated/apple (= 4.3.1)
2552+
- RNReanimated/common (= 4.3.1)
25532553
- RNWorklets
25542554
- Yoga
2555-
- RNReanimated/apple (4.4.0):
2555+
- RNReanimated/apple (4.3.1):
25562556
- hermes-engine
25572557
- RCTRequired
25582558
- RCTTypeSafety
@@ -2576,7 +2576,7 @@ PODS:
25762576
- ReactNativeDependencies
25772577
- RNWorklets
25782578
- Yoga
2579-
- RNReanimated/common (4.4.0):
2579+
- RNReanimated/common (4.3.1):
25802580
- hermes-engine
25812581
- RCTRequired
25822582
- RCTTypeSafety
@@ -2714,7 +2714,7 @@ PODS:
27142714
- ReactCommon/turbomodule/core
27152715
- ReactNativeDependencies
27162716
- Yoga
2717-
- RNWorklets (0.9.1):
2717+
- RNWorklets (0.8.3):
27182718
- hermes-engine
27192719
- RCTRequired
27202720
- RCTTypeSafety
@@ -2736,10 +2736,10 @@ PODS:
27362736
- ReactCommon/turbomodule/bridging
27372737
- ReactCommon/turbomodule/core
27382738
- ReactNativeDependencies
2739-
- RNWorklets/apple (= 0.9.1)
2740-
- RNWorklets/common (= 0.9.1)
2739+
- RNWorklets/apple (= 0.8.3)
2740+
- RNWorklets/common (= 0.8.3)
27412741
- Yoga
2742-
- RNWorklets/apple (0.9.1):
2742+
- RNWorklets/apple (0.8.3):
27432743
- hermes-engine
27442744
- RCTRequired
27452745
- RCTTypeSafety
@@ -2762,7 +2762,7 @@ PODS:
27622762
- ReactCommon/turbomodule/core
27632763
- ReactNativeDependencies
27642764
- Yoga
2765-
- RNWorklets/common (0.9.1):
2765+
- RNWorklets/common (0.8.3):
27662766
- hermes-engine
27672767
- RCTRequired
27682768
- RCTTypeSafety
@@ -3325,11 +3325,11 @@ SPEC CHECKSUMS:
33253325
RNGestureHandler: ae4b9960c2e7d0fb3991255345bf424cca8e09e4
33263326
RNNotifee: 5e3b271e8ea7456a36eec994085543c9adca9168
33273327
RNReactNativeHapticFeedback: 9dc72312c12cb53ee240b5b7aae1e167f3d940a6
3328-
RNReanimated: b3047c9f9070ae04e6919be1906aaf1a5caf0b23
3328+
RNReanimated: 8aac6baab55e39ca4e02afd69f77fb127b26520c
33293329
RNScreens: 8d318eb8905fa1d3439a1ce5d567f82ae8245657
33303330
RNShare: 26c9524aee8cc3eedbab6d6b98cacce2f5247893
33313331
RNSVG: 8efa5ad14ceb98fe56c03793bd55bc4bd30ad84b
3332-
RNWorklets: a6ebd7b1ae53f150d747986d70bfc34932d7ffb4
3332+
RNWorklets: 4931990f73bc8f347586918b2e13f11dfadf3b75
33333333
SDWebImage: e9fc87c1aab89a8ab1bbd74eba378c6f53be8abf
33343334
SDWebImageAVIFCoder: afe194a084e851f70228e4be35ef651df0fc5c57
33353335
SDWebImageSVGCoder: 15a300a97ec1c8ac958f009c02220ac0402e936c

examples/SampleApp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@
5656
"react-native-maps": "^1.27.2",
5757
"react-native-nitro-modules": "^0.35.9",
5858
"react-native-nitro-sound": "^0.2.15",
59-
"react-native-reanimated": "^4.4.0",
59+
"react-native-reanimated": "4.3.1",
6060
"react-native-safe-area-context": "^5.8.0",
6161
"react-native-screens": "^4.25.2",
6262
"react-native-share": "^12.3.1",
6363
"react-native-svg": "^15.15.5",
6464
"react-native-teleport": "^1.1.7",
6565
"react-native-video": "^6.19.2",
66-
"react-native-worklets": "^0.9.1",
66+
"react-native-worklets": "^0.8.3",
6767
"stream-chat": "^9.44.2",
6868
"stream-chat-react-native": "workspace:^",
6969
"stream-chat-react-native-core": "workspace:^"

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18021,7 +18021,7 @@ __metadata:
1802118021
languageName: node
1802218022
linkType: hard
1802318023

18024-
"react-native-worklets@npm:0.8.3":
18024+
"react-native-worklets@npm:0.8.3, react-native-worklets@npm:^0.8.3":
1802518025
version: 0.8.3
1802618026
resolution: "react-native-worklets@npm:0.8.3"
1802718027
dependencies:
@@ -18856,14 +18856,14 @@ __metadata:
1885618856
react-native-maps: "npm:^1.27.2"
1885718857
react-native-nitro-modules: "npm:^0.35.9"
1885818858
react-native-nitro-sound: "npm:^0.2.15"
18859-
react-native-reanimated: "npm:^4.4.0"
18859+
react-native-reanimated: "npm:4.3.1"
1886018860
react-native-safe-area-context: "npm:^5.8.0"
1886118861
react-native-screens: "npm:^4.25.2"
1886218862
react-native-share: "npm:^12.3.1"
1886318863
react-native-svg: "npm:^15.15.5"
1886418864
react-native-teleport: "npm:^1.1.7"
1886518865
react-native-video: "npm:^6.19.2"
18866-
react-native-worklets: "npm:^0.9.1"
18866+
react-native-worklets: "npm:^0.8.3"
1886718867
stream-chat: "npm:^9.44.2"
1886818868
stream-chat-react-native: "workspace:^"
1886918869
stream-chat-react-native-core: "workspace:^"

0 commit comments

Comments
 (0)