object will be deleted.</p><section class="s2"><h2>Example</h2><p>This example uses the <code>useSliceRowIdsListener</code> hook to create a listener that is scoped to a single component. When the component is unmounted, the listener is removed from the <a href="/api/indexes/interfaces/indexes/indexes/"><code>Indexes</code></a> object.</p><pre><code><span class="keyword">import</span> React <span class="keyword">from</span> <span class="string">'react'</span><span class="punctuation">;</span>
<span class="k