MCPcopy Create free account
hub / github.com/TanStack/hotkeys / createId

Function createId

examples/react/useHotkeyRecorder/src/index.tsx:24–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23let nextId = 0
24function createId(): string {
25 return `shortcut_${++nextId}`
26}
27
28const INITIAL_SHORTCUTS: Array<Shortcut> = [
29 {

Callers 2

index.tsxFile · 0.70
handleCreateNewFunction · 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…