es/methods/listener/addslicerowidslistener/"><code>addSliceRowIdsListener</code></a> method, which returns a listener <a href="/api/common/type-aliases/identity/id/"><code>Id</code></a> and requires you to remove it manually, the <code>useSliceRowIdsListener</code> hook manages this lifecycle for you: when the listener changes (per its <code>listenerDeps</code> dependencies) or the component unmounts, the listener on the underlying <a href="/api/indexes/interfaces/indexes/indexes/"><code>Indexes</code></a> 