Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/hotkeys
/ createId
Function
createId
examples/lit/hotkey-sequence-recorder/src/app.ts:25–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
24
let
nextId = 0
25
function
createId(): string {
26
return
`shortcut_${++nextId}`
27
}
28
29
const
INITIAL_SHORTCUTS: Array<Shortcut> = [
30
{
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…