@mocanvas/editor · type
type TLStoreEventInfo = HistoryEntry<EditorRecord>What a store listener is handed: the records that changed, and who changed them.
source is the field that matters. A change a peer made must not go on this
client's undo stack, and a change this client made must be broadcast — both
decisions are made from this one field, and getting it wrong produces
symptoms (undo reversing somebody else's work) that look nothing like their
cause.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.