Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ getItem
Method
getItem
packages/db/tests/local-storage.test.ts:17–19 ·
view source on GitHub ↗
(key: string)
Source
from the content-addressed store, hash-verified
15
}
16
17
getItem(key: string): string | null {
18
return
this.store[key] || null
19
}
20
21
setItem(key: string, value: string): void {
22
this.store[key] = value
Callers
10
getStorageSize
Function · 0.80
loadFromStorage
Function · 0.80
debugLog
Function · 0.80
local-storage.test.ts
File · 0.80
verifyConsistency
Function · 0.80
probe
Method · 0.80
get
Method · 0.80
hydrateSimulatedOffline
Function · 0.80
get
Method · 0.80
get
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected