December 2019
Intermediate to advanced
474 pages
10h 3m
English
The first gesture we will implement is a tap gesture, which will be added to the Slot component, to give the user more feedback on their actions. Instead of filling the slot when the user taps it, the user will already receive some feedback when the tap event is started and receive feedback when the event is completed. Here, we'll use the TouchableWithoutFeedback element from react-native-gesture-handler, which runs in the native thread, instead of the TouchableWithoutFeedback element from react-native, which uses the gesture responder system. Replacing the react-native component with the one from react-native-gesture-handler can be done by following these steps: