Things covered:
onMouseMove even.clientX (screenX is for screen, clientX is for the svg tag in this context) useState - beaware of the location useCallback