Skip to content

Commit bd15c86

Browse files
committed
add dep array
1 parent 9310e8b commit bd15c86

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"react": "^16.12.0",
4848
"react-native": "^0.61.5",
4949
"react-native-gesture-handler": "^1.5.3",
50-
"react-native-reanimated": "^1.7.0",
50+
"react-native-reanimated": "^1.13.0",
5151
"typescript": "^3.7.3"
5252
}
5353
}

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ class SwipeableItem<T> extends React.PureComponent<Props<T>> {
458458
transform: [{ translateX: this.animState.position }]
459459
}}
460460
>
461-
<Animated.Code>{this.runCode}</Animated.Code>
461+
<Animated.Code dependencies={[]}>{this.runCode}</Animated.Code>
462462
{children}
463463
{renderOverlay({
464464
item,

yarn.lock

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3747,10 +3747,12 @@ react-native-gesture-handler@^1.5.3:
37473747
invariant "^2.2.4"
37483748
prop-types "^15.7.2"
37493749

3750-
react-native-reanimated@^1.7.0:
3751-
version "1.7.0"
3752-
resolved "https://registry.yarnpkg.com/react-native-reanimated/-/react-native-reanimated-1.7.0.tgz#896db2576552ac59d288a1f6c7f00afc171f240c"
3753-
integrity sha512-FQWSqP605eQVJumuK2HpR+7heF0ZI+qfy4jNguv3Xv8nPFHeIgZaRTXHCEQL2AcuSIj50zy8jGJf5l134QMQWQ==
3750+
react-native-reanimated@^1.13.0:
3751+
version "1.13.2"
3752+
resolved "https://registry.yarnpkg.com/react-native-reanimated/-/react-native-reanimated-1.13.2.tgz#1ae5457b24b4913d173a5a064bb28eae7783d293"
3753+
integrity sha512-O+WhgxSjOIzcVdAAvx+h2DY331Ek1knKlaq+jsNLpC1fhRy9XTdOObovgob/aF2ve9uJfPEawCx8381g/tUJZQ==
3754+
dependencies:
3755+
fbjs "^1.0.0"
37543756

37553757
react-native@^0.61.5:
37563758
version "0.61.5"

0 commit comments

Comments
 (0)