vastlint-react
v0.4.24
Published
Headless React hooks for the VASTlint client runtime.
Maintainers
Readme
vastlint-react
Headless React bindings for vastlint-client.
Current status:
useVastSessionis implemented as a thin hook overvastlint-clientsession instances.- The hook subscribes to session snapshots, supports auto-load and auto-validate, and exposes tracking-aware session state.
useVastAnnotationsis implemented as a derived annotation model overValidationResult, grouped by line and issue ID.useVastPlaybackis implemented as a thin hook overcreateVastPlaybackController(), with subscribed playback snapshots, optional auto-initialize behavior, and bound playback lifecycle methods.useVastPlaybackQueueis implemented as a thin hook overcreateVastPlaybackQueueController(), with subscribed queue snapshots, optional auto-initialize behavior, and bound queue lifecycle methods.- Build-first Node smoke tests now cover
useVastSession,useVastAnnotations,useVastTracker,useVastPlayback, anduseVastPlaybackQueueagainst built package output via ajsdomplusreact-dom/clientharness. useVastTrackeris implemented as a thin hook over session tracking state and dispatch methods, including pod-awaretrackAd()plus companion helpers forgetAdCompanions(),getCompanionTargets(), andtrackCompanion().- The package will stay renderer-agnostic and return data models rather than opinionated UI.
