Why Writing a Pinch-to-Zoom Component Is Harder Than You Think
React Conferences by GitNation via YouTube
Learn Backend Development Part-Time, Online
AI, Data Science & Business Certificates from Google, IBM & Microsoft
Overview
Syllabus
00:00 Pinch-to-Zoom Component Challenge
01:23 Independent X and Y-axis Control
03:41 Unified Touch Interactions
06:10 Interpolated Touch Coordinates
08:56 Equation Implementation and Event Handling
10:28 React Integration and CSS Transform
11:58 Component Integration and Math Solver
13:51 CSS Transformation Calculation
14:42 Normalized Coordinate Space and Scale Calculation
15:37 Realistic Touch Gestures and Caveats
17:16 Pinch-to-Zoom Implementation Features
Taught by
React Conferences by GitNation