You could mutate some shared/global state from inside a closure as a way of getting information/state out
State lives in a "global" and the component is modifying it. So it's "leaking info out".
It's hard to make comprehensive mental models that cover all the bases and leaves nothing out