Commit b3d8fd9
authored
Fix
## Description
Fix - WARN [Reanimated] Reading from `value` during component render. in
react-native-gesture-handler version 2.22.1
This warning appear when you use Swipeable component.
Change :
in src/components/ReanimatedSwipeable.tsx
replace rowWidth.value to rowWidth in the dependency array of
updateElementWidths callback.
#3170 #3320
## Test plan
Tested on Samsung Galaxy A52, android emulator and Iphone 13ReanimatedSwipeable reanimated warnings (#3365)1 parent e30cc63 commit b3d8fd9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
| 469 | + | |
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
| |||
0 commit comments