v0.2.0
Update useEvent
to store callback in a Ref
. Beforehand, any values pushed into this handler would cause the hook to rerender, even if no one subscribed to the event, due to using the state modification to trigger the useTickEffect
hook.