-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plans for a useHotkeys hook? #210
Comments
Hi @jordantomax, I'd have to look into what's involved, but I'm open to the idea of supporting it. It seems to be the direction |
@greena13 - Any updates on this? I too would like to take advantage of hooks with this library! |
We need this.! This library needs update |
Would love to contribute to this. That would be amazing. |
I ended up writing my own library - https://github.com/reaviz/reakeys |
Download stats for @jordantomax to your point on
They seem to support this now via |
Is your feature request related to a problem? Please describe.
I love that hooks make functional components possible for just about everything. I also love react-hotkeys because of its lack of dependencies and it's options to present active hotkeys information to the user.
Describe the solution you'd like
Would love to get a
useHotkeys
option for react hotkeys.Describe alternatives you've considered
Looked into the existing https://github.com/JohannesKlauss/react-hotkeys-hook which is just a super simple wrapper around hotkeys-js library. Seems okay, but doesn't seem as well maintained and doesn't have the ability to present the user with a menu of registered hotkeys
Really just trying to gauge plans/interest to build such a feature.
The text was updated successfully, but these errors were encountered: