s</code></h1><p>The <code>useCheckpoints</code> hook is used to get a reference to a <a href="/api/checkpoints/interfaces/checkpoints/checkpoints/"><code>Checkpoints</code></a> object from within a <a href="/api/ui-react/functions/context-components/provider/"><code>Provider</code></a> component context.</p><pre><code><span class="function"><a href="/api/ui-react/functions/checkpoints-hooks/usecheckpoints/">useCheckpoints</a></span><span class="punctuation">(</span>id<span class="operator">?</span><span cla