Skip to content

useTimelineContext

useTimelineContext(): TimelineContextValue

Defined in: src/components/editor/Timeline/TimelineContext.ts:42

Subscribe to all Timeline state. Convenient catch-all but re-renders on every store mutation. For perf-sensitive consumers, prefer the slice hooks (useTimelineGeometry, useTimelinePlayhead, useTimelineSelection).

Returns

TimelineContextValue