Api / JavaScript /

<Snapshot>

Is a special object/class that is created with Collector.emit and Collector.emitWithoutDestroy. With snapshots we can undo and redo the mutations collected by our collector. Snapshots are useful for optimistic updates or undo/redo feature.

See also