nent unmounts, the listener on the underlying <a href="/api/persisters/interfaces/persister/persister/"><code>Persister</code></a> will be deleted.</p><section class="s2"><h2>Example</h2><p>This example uses the <code>usePersisterStatusListener</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/persisters/interfaces/persister/persister/"><code>Persister</code></a>.</p><pre><code><span class="keyword">import</