Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ setItem
Function
setItem
packages/db/src/local-storage.ts:205–207 ·
view source on GitHub ↗
(key: string, value: string)
Source
from the content-addressed store, hash-verified
203
return
storage.get(key) ?? null
204
},
205
setItem(key: string, value: string): void {
206
storage.set(key, value)
207
},
208
removeItem(key: string): void {
209
storage.delete(key)
210
},
Callers
nothing calls this directly
Calls
1
set
Method · 0.45
Tested by
no test coverage detected