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

Function ProvideIndexes

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

Source from the content-addressed store, hash-verified

1831 didRender(JSON.stringify(useIndexes('i')?.getSliceRowIds('i1', '1')));
1832 const indexes = createIndexes(store).setIndexDefinition('i1', 't1', 'c1');
1833 const ProvideIndexes = () => {
1834 useProvideIndexes('i', indexes);
1835 return null;
1836 };
1837 const {container, unmount} = render(
1838 <Provider>
1839 <Test />

Callers

nothing calls this directly

Calls 1

useProvideIndexesFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…