ass="punctuation">;</span>
</span></code></pre><p>We do something similar for the <code>viewStore</code>, so that reloads preserve the type currently being viewed. Instead of local storage, we&#x27;ll use the browser&#x27;s session storage. This means that if the user has two browser windows open, the UI changes to one won&#x27;t mysteriously affect the other:</p><pre><code><span class="deleted-sign"><span class="prefix">-</span>  <span class="keyword">const</span> viewStore <span class="operator">=</span> 