Is your feature request related to a problem? Please describe.
Got here from KeyboardJS. I'm looking for a keyboard lib for a new project.
There are some features in KeyboardJS looks awesome. Like setContext, watch, stop, which I cannot find in Keystrokes. (Am I missing something?)
However I feel an unbindAll method might be usefule enough as an alternative for these features. By which I can install/teardown easily like a context switch.
And it also benefits in libraries like react. Say we can orchestrate mutiple events to an instance in useEffect and destroy them once.
Describe the solution you'd like
Add unbindAll or even destroy?
How do you feel about this?
Is your feature request related to a problem? Please describe.
Got here from
KeyboardJS. I'm looking for a keyboard lib for a new project.There are some features in
KeyboardJSlooks awesome. LikesetContext,watch,stop, which I cannot find inKeystrokes. (Am I missing something?)However I feel an
unbindAllmethod might be usefule enough as an alternative for these features. By which I can install/teardown easily like a context switch.And it also benefits in libraries like react. Say we can orchestrate mutiple events to an instance in useEffect and destroy them once.
Describe the solution you'd like
Add
unbindAllor evendestroy?How do you feel about this?