Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
onStart
callbacks of ReanimatedSwipeable
being called every u…
…pdate (#3151) ## Description Fix `onStart` callbacks of `ReanimatedSwipeable` being called every update. Moved from #3149 ## Test plan - open `Swipeable Reanimation` example - replace the `ReanimatedSwipeable` component with the following code: ```js <ReanimatedSwipeable containerStyle={styles.swipeable} onSwipeableOpenStartDrag={(direction) => console.log(direction)} onSwipeableCloseStartDrag={(direction) => console.log(direction)}> <Text>Swipeable!</Text> </ReanimatedSwipeable> ``` - see how only one update is sent to the console, while before this PR new updates were constantly generated
- Loading branch information