Reactive APIs
    Preparing search index...
    • Experimental

      Creates a new linked signal derived from the given source.

      The linked signal's value defaults to the source's value. While the source remains the same, the linked signal can be changed freely. If the source changes, the linked signal will be reset.

      Type Parameters

      • T

      Parameters

      Returns Reactive<T>

    • Experimental

      Creates a new linked signal derived from the given source.

      While the source remains the same, the linked signal can be changed freely. If the source changes, the linked signal will be reset.

      The reset function determines the new value during initialization or after the source has changed.

      Type Parameters

      • T
      • S

      Parameters

      Returns Reactive<T>