MCPcopy Create free account
hub / github.com/tinyplex/tinybase / ContextStore

Function ContextStore

test/unit/core/ui-react/components.test.tsx:482–496  ·  view source on GitHub ↗
({
  store,
  storesById,
  storeId,
  mode,
}: {
  readonly store?: Store;
  readonly storesById?: {[storeId: string]: Store};
  readonly storeId?: string;
  readonly mode: string;
})

Source from the content-addressed store, hash-verified

480);
481
482const ContextStore = ({
483 store,
484 storesById,
485 storeId,
486 mode,
487}: {
488 readonly store?: Store;
489 readonly storesById?: {[storeId: string]: Store};
490 readonly storeId?: string;
491 readonly mode: string;
492}) => (
493 <Provider store={store} storesById={storesById}>
494 <ContextStoreChild storeId={storeId} mode={mode} />
495 </Provider>
496);
497
498const ContextMetrics = ({
499 metrics,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…