Add a Pinch-to-Zoom Function using React Native Gesture Handler

React Native's built-in touch Gesture Responder system has given us all some performance problems on both iOS and Android platforms. Using the open-source solution react-native-gesture-handler is a great way to overcome this and add gestures in our React Native apps.


This is a companion discussion topic for the original entry at https://blog.crowdbotics.com/add-pinch-to-zoom-using-react-native-gesture-handler/

Hmm. I’m not sure what I’m doing wrong, but this example just isn’t working for me. My project is in TypeScript, for what it’s worth, but when I use your functional component “PinchableBox” I get errors with the “this” pointers.

Same problem. Did you solve it?