Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/hotkeys
/ createId
Function
createId
examples/solid/createHotkeySequenceRecorder/src/index.tsx: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
index.tsx
File · 0.70
handleCreateNew
Function · 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…