@bodil/dom
    Preparing search index...

    Function watch

    • Render a signal and subscribe to it, updating the part when the signal changes independently of the host component.

      Type Parameters

      • T

      Parameters

      • signal: Any<T>
      • OptionalmapFn: (value: T) => unknown

      Returns DirectiveResult<typeof WatchDirective>