Tags: GoodNotes/react-dnd
Tags
Add only single event listener to body to handle touchmove events `connectDropTarget` added a touchmove event listener to the body for each target node, which added performance overhead scaling with the number of target nodes. This commit changes it to add only one event listener to the body, which handles touchmove events for all target nodes.