Drag and resize in react using react-spring and use-gesture
FEB 2022
In this video we'll see how to build a video editing crop tool using reactjs and react-spring + use-gesture.
First we build the UI using Mui, a React UI Library. Then, we add a react component which overlays on top of our video player element and lets the user make a selection by dragging and resizing a selection area.
When the user confirms the selection, we make an API request to crop the video and return the result to the user.