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

Function useStore

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

Source from the content-addressed store, hash-verified

455export const useStoreIds = () => useThingIds(OFFSET_STORE);
456
457export const useStore = (
458 id?: MaybeAccessor<Id | undefined>,
459): Accessor<Store | undefined> => useThing(id, OFFSET_STORE);
460
461export const useStores = (): Accessor<IdObj<Store>> => useThings(OFFSET_STORE);
462

Callers 9

primitives.test.tsFile · 0.90
ContextNestedChildFunction · 0.90
ContextProvidedThingsFunction · 0.90
UndefinedContextChildrenFunction · 0.90
StoreViewFunction · 0.90
BodyFunction · 0.90

Calls 1

useThingFunction · 0.90

Tested by 5

ContextNestedChildFunction · 0.72
ContextProvidedThingsFunction · 0.72
UndefinedContextChildrenFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…