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

Function useProvideStore

src/ui-react/hooks.ts:635–638  ·  view source on GitHub ↗
(
  storeId: Id,
  store: Store,
)

Source from the content-addressed store, hash-verified

633): Store | undefined => useThingOrThingById(storeOrStoreId, OFFSET_STORE);
634
635export const useProvideStore: typeof useProvideStoreDecl = (
636 storeId: Id,
637 store: Store,
638): void => useProvideThing(storeId, store, OFFSET_STORE);
639
640export const useCreateMergeableStore: typeof useCreateMergeableStoreDecl = (
641 create: () => MergeableStore,

Callers 3

ProvideStore1Function · 0.90
ProvideStore2Function · 0.90
ProvideThingsFunction · 0.90

Calls 1

useProvideThingFunction · 0.90

Tested by 3

ProvideStore1Function · 0.72
ProvideStore2Function · 0.72
ProvideThingsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…