MCPcopy Create free account
hub / github.com/tinyplex/tinybase / useCheckpoint

Function useCheckpoint

docs/pseudo.esm.sh/tinybase@9.0.0/ui-solid-dom/index.js:205–210  ·  view source on GitHub ↗
(checkpointId, checkpointsOrCheckpointsId)

Source from the content-addressed store, hash-verified

203 2
204);
205var useCheckpoint = (checkpointId, checkpointsOrCheckpointsId) => useListenable(
206 CHECKPOINT,
207 useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),
208 5,
209 [checkpointId]
210);
211var wrap = (children, separator, encloseWithId, id) => {
212 const separated = isUndefined(separator) || !isArray(children) ? children : arrayMap(children, (child, c) => c > 0 ? [separator, child] : child);
213 return encloseWithId ? [id, ":{", separated, "}"] : separated;

Callers 1

CheckpointViewFunction · 0.70

Calls 2

useListenableFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…