e storage types that are synchronous (like browser storage) it is still recommended that you <code>await</code> calls to this method or handle the return type natively as a Promise.</p><section class="s2"><h2>Example</h2><p>This example creates a <a href="/api/the-essentials/creating-stores/store/"><code>Store</code></a> with some data, and saves into the browser&#x27;s session storage.</p><pre><code><span class="keyword">import</span> <span class="punctuation">{</span>createStore<span class="punctuation">}