Skip to content

Commit 788827a

Browse files
m-bertj-piasecki
andauthored
Update packages/docs-gesture-handler/docs/fundamentals/installation.mdx
Co-authored-by: Jakub Piasecki <jakub.piasecki@swmansion.com>
1 parent c9c429e commit 788827a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/docs-gesture-handler/docs/fundamentals/installation.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import { GestureHandlerCompatibility } from '../../components/Compatibility';
1919

2020
### Running gestures on the UI thread
2121

22-
In order to respond to gestures on UI thread, you also have to install [`react-native-reanimated`](https://docs.swmansion.com/react-native-reanimated/) along with [`react-native-worklets`](https://docs.swmansion.com/react-native-worklets/).
22+
Using Reanimated is the recommended method of handling gesture-driven interactions on the UI thread. In order to use it, you need to install [`react-native-reanimated`](https://docs.swmansion.com/react-native-reanimated/) along with [`react-native-worklets`](https://docs.swmansion.com/react-native-worklets/). Another approach is to use React Native's [Animated API](https://reactnative.dev/docs/animated).
2323

24-
While using Reanimated is the recommended method for responding to gestures on the UI thread, you can also use the [Animated API](https://reactnative.dev/docs/animated). For more details on how to implement these, refer to the dedicated sections for [Reanimated](/docs/fundamentals/reanimated-interactions) and [Animated](/docs/fundamentals/animated-interactions).
24+
For more details on how to implement these, refer to the dedicated sections for [Reanimated](/docs/fundamentals/reanimated-interactions) and [Animated](/docs/fundamentals/animated-interactions).
2525

2626
## Setup
2727

0 commit comments

Comments
 (0)