Repository navigation
Tanstack hotkeys on react native? #202
OndrejHana
started this conversation in
Show and tell
Replies: 1 comment 2 replies
|
I'm curious what the point of building hotkeys is for mobile devices? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello, I’ve built an experiment, that adapts this library to react native.
I was looking for a solution, that could provide a unified interface for handling keyboard shortcuts on all of react natives platforms. I’ve used Tanstack Hotkeys before on web and really liked it, so I tried extracting the use of DOM APIs and document object into it’s own interface and created custom adapters.
For example, this is the kitchen sink demo working on ipad simulator.
kitchen-sink-ipad.mp4
Here is the repository
https://github.com/OndrejHana/react-native-tanstack-hotkeys
My question is, would you consider adding something similar to this as a first party? I know it’s a large change, but it would increase the usefulness of the library to many more platforms.
I’d be very happy to help, but if this isn’t the direction you have in mind for the project, take it only as a cool experiment.
All reactions