Canvas Pottery

onmousemove and React

Creating a draggable element in React is trickier than it should be without React, because once React does its re-render, it seems to lose its onmousemove target origin.