Skip to content

wirestate-lit-signals

Signals

NameDescription
Signal-
WatchDirective-
SignalWatcher-
Computed-
State-
WatchDirectiveFunction-
computed-
signal-
SignalWatcher-

Variables

VariableDescription
watchRenders a signal and subscribes to it, updating the part when the signal changes.
withWatchWraps a lit-html template tag function (html or svg) to add support for automatically wrapping Signal instances in the watch() directive.