r component will likely not yet have completed the registration. In the example below, we use the null-safe <code>useCheckpoints(&#x27;petCheckpoints&#x27;)?</code> to do this.</p><section class="s2"><h2>Example</h2><p>This example creates a Provider context. A child component registers a <a href="/api/checkpoints/interfaces/checkpoints/checkpoints/"><code>Checkpoints</code></a> object into it which is then consumable by a peer child component.</p><pre><code><span class="keyword">import</span> React <span c