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

Function usePersister

src/ui-solid/primitives.ts:1974–1976  ·  view source on GitHub ↗
(
  id?: MaybeAccessor<Id | undefined>,
)

Source from the content-addressed store, hash-verified

1972export const usePersisterIds = () => useThingIds(OFFSET_PERSISTER);
1973
1974export const usePersister = (
1975 id?: MaybeAccessor<Id | undefined>,
1976): Accessor<AnyPersister | undefined> => useThing(id, OFFSET_PERSISTER);
1977
1978export const usePersisterOrPersisterById = (
1979 persisterOrPersisterId?: MaybeAccessor<PersisterOrPersisterId | undefined>,

Callers 3

ContextProvidedThingsFunction · 0.90

Calls 1

useThingFunction · 0.90

Tested by 2

ContextProvidedThingsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…