MCPcopy Index your code
hub / github.com/tinyplex/tinybase / usePersister

Function usePersister

src/ui-react/hooks.ts:2360–2362  ·  view source on GitHub ↗
(
  id?: Id,
)

Source from the content-addressed store, hash-verified

2358 useThingIds(OFFSET_PERSISTER);
2359
2360export const usePersister: typeof usePersisterDecl = (
2361 id?: Id,
2362): AnyPersister | undefined => useThing(id, OFFSET_PERSISTER);
2363
2364export const usePersisterOrPersisterById: typeof usePersisterOrPersisterByIdDecl =
2365 (persisterOrPersisterId?: PersisterOrPersisterId): AnyPersister | undefined =>

Callers 4

ContextPersisterChildFunction · 0.90
ProvidedThingsFunction · 0.90

Calls 1

useThingFunction · 0.90

Tested by 3

ContextPersisterChildFunction · 0.72
ProvidedThingsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…