ider</code></a> component, but imperatively from a component within it. <a href="/api/ui-react/functions/store-hooks/useprovidestore/">Read more</a>.</p></section><section class="s2" id="/api/ui-react/functions/store-hooks/usestore/" data-id="uS"><h2><code>useStore</code></h2><p>The <code>useStore</code> hook is used to get a reference to a <a href="/api/the-essentials/creating-stores/store/"><code>Store</code></a> from within a <a href="/api/ui-react/functions/context-components/provider/"><code>Provider</