Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/hotkeys
/ createId
Function
createId
examples/lit/hotkey-recorder/src/app.ts:21–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
20
let
nextId = 0
21
function
createId(): string {
22
return
`shortcut_${++nextId}`
23
}
24
25
const
INITIAL_SHORTCUTS: Array<Shortcut> = [
26
{
Callers
2
app.ts
File · 0.70
_handleCreateNew
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…