Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/hotkeys
/ useHeldKeyCodes
Function
useHeldKeyCodes
packages/react-hotkeys/src/useHeldKeyCodes.ts:30–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
28
* ```
29
*/
30
export
function
useHeldKeyCodes(): Record<string, string> {
31
const
tracker = getKeyStateTracker()
32
return
useSelector(tracker.store, (state) => state.heldCodes)
33
}
Callers
1
App
Function · 0.90
Calls
1
getKeyStateTracker
Function · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…