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

Function ProvideThings

test/unit/core/ui-react/components.test.tsx:753–763  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

751 readonly synchronizer: Synchronizer;
752}) => {
753 const ProvideThings = () => {
754 useProvideStore('store1', store);
755 useProvideMetrics('metrics1', metrics);
756 useProvideIndexes('indexes1', indexes);
757 useProvideRelationships('relationships1', relationships);
758 useProvideQueries('queries1', queries);
759 useProvideCheckpoints('checkpoints1', checkpoints);
760 useProvidePersister('persister1', persister);
761 useProvideSynchronizer('synchronizer1', synchronizer);
762 return <ProvidedThings />;
763 };
764 const ProvidedThings = () => (
765 <>
766 {useStore('store1') == store ? 'Store ' : ''}

Callers

nothing calls this directly

Calls 8

useProvideStoreFunction · 0.90
useProvideMetricsFunction · 0.90
useProvideIndexesFunction · 0.90
useProvideRelationshipsFunction · 0.90
useProvideQueriesFunction · 0.90
useProvideCheckpointsFunction · 0.90
useProvidePersisterFunction · 0.90
useProvideSynchronizerFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…