react/">Using React</a></li><li><a href="/api/the-essentials/using-react/provider/"><code>Provider</code></a></li></ul></nav><section class="s1" id="/api/the-essentials/using-react/provider/" data-id="P32"><h1><code>Provider</code></h1><div class="essential">Essential</div><p>The <code>Provider</code> component is used to wrap part of an application in a context that provides default objects to be used by hooks and components within.</p><pre><code><span class="function"><a href="/api/the-essentials/using-re