arrow_backBACK TO DRILLS
Black Beltuseeffect

Stale event listener closure

A pointermove listener added in an Effect always sees canMove === true, even after the checkbox changes. What is the most likely cause?