s2"><h2>Examples</h2><p>This example creates a <a href="/api/the-essentials/persisting-stores/persister/"><code>Persister</code></a> at the top level of a React application. Even though the App component is rendered twice, the <a href="/api/the-essentials/persisting-stores/persister/"><code>Persister</code></a> creation only occurs once by default.</p><pre><code><span class="keyword">import</span> React <span class="keyword">from</span> <span class="string">'react'</span><span class="punctuation">;</span>
<