Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
The basics of PinchGestureHandler with React Native Reanimated 2
Play lesson

Animate with Reanimated - The basics of PinchGestureHandler with React Native Reanimated 2

5.0 (1)
25 learners

What you'll learn

This course includes

  • 12 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

In this tutorial, we’ll learn how to use the PinchGestureHandler component (from react-native-gesture-handler package). In order to do that we'll build the classical "Pinch Image" animation. My React Native animations course: https://reanimate.dev Shared 100+ Animations on Demos: https://reactiive.io/demos Twitter: https://twitter.com/reactiive_ Source code: https://github.com/enzomanuelmangano/animate-with-reanimated/tree/main/src/animations/04-pinch-gesture-handler-basics The main concepts we'll explore are: - PinchGestureHandler - focalX + focalY - useAnimatedGestureHandler hook - withTiming The basics of PanGestureHandler: https://youtu.be/4HUreYYoE6U If you like this tutorial, don't forget to subscribe to the channel :) Chapters: 00:00 Introduction 00:45 Setup workspace 02:48 The PinchGestureHandler 07:35 The magical onEnd callback 09:16 The focal point 12:35 Pinch around the focal point

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere