value (which is more easily done with the <a href="/api/ui-react/functions/store-hooks/usevalueids/"><code>useValueIds</code></a> hook).</p><p>Unlike the <a href="/api/store/interfaces/store/store/methods/listener/addvalueidslistener/"><code>addValueIdsListener</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>useValueIdsListener</code> hook manages this lifecycle for you: when the listener change