nctions/indexes-hooks/useindexesorindexesbyid/" data-id="uIOIBI"><h2><code>useIndexesOrIndexesById</code></h2><p>The <code>useIndexesOrIndexesById</code> hook is used to get a reference to an <a href="/api/indexes/interfaces/indexes/indexes/"><code>Indexes</code></a> object from within a <a href="/api/the-essentials/using-react/provider/"><code>Provider</code></a> component context, <em>or</em> have it passed directly to this hook. <a href="/api/ui-react/functions/indexes-hooks/useindexesorindexesbyid/">Rea