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

Function ProvideMetrics

test/unit/core/ui-react/hooks.test.tsx:1814–1817  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1812 didRender(JSON.stringify(useMetrics('m')?.getMetric('m1')));
1813 const metrics = createMetrics(store).setMetricDefinition('m1', 't1');
1814 const ProvideMetrics = () => {
1815 useProvideMetrics('m', metrics);
1816 return null;
1817 };
1818 const {container, unmount} = render(
1819 <Provider>
1820 <Test />

Callers

nothing calls this directly

Calls 1

useProvideMetricsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…