Dragging the square will display previews using different methods (see source for details) in order to showcase all the different APIs

React is not working