TinyBase logoTinyBase β

UndoOrRedoInformation

The UndoOrRedoInformation type is an array that you can fetch from a Checkpoints object that indicates if and how you can move the state of the underlying Store forward or backward.

[boolean, Callback, Id | undefined, string]

This type is useful if you are building undo or redo buttons. See the useUndoInformation primitive and the useRedoInformation primitive for more details and examples.

Since

v8.3.0