useCheckpointsOrCheckpointsById
The useCheckpointsOrCheckpointsById hook is used to get a reference to a Checkpoints object from a Provider context, or have it passed directly.
useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId?: MaybeGetter<undefined | CheckpointsOrCheckpointsId>): () => Checkpoints | undefined| Type | Description | |
|---|---|---|
checkpointsOrCheckpointsId? | MaybeGetter<undefined | CheckpointsOrCheckpointsId> | The |
| returns | () => Checkpoints | undefined | A getter function returning the |
Since
v8.1.0