Skip to content

Function: useHistory()

@roomful/solid


@roomful/solid / useHistory

useHistory<TPresence>(options?): UseHistoryResult

Defined in: solid/src/index.ts:1331

Subscribes to the collaborative history engine: a reactive shared timeline plus reactive canUndo/canRedo, with capture/transaction/undo/redo controls.

TPresence extends PresenceData = PresenceData

The room presence shape.

HistoryOptions

Optional history configuration.

UseHistoryResult

Accessors for the timeline and undo/redo availability plus controls.