UndoOrRedoInformation
The UndoOrRedoInformation
type is an array that you can fetch from a Checkpoints
object to 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
hook and the useRedoInformation
hook for more details and examples.
Since
v1.0.0