Documentation - v0.0.1
    Preparing search index...

    Function storeSignal

    Creates a signal that persists its value in localStorage (or a custom storage) under the given key.

    • Type Parameters

      • T

      Parameters

      • key: string

      Returns Signal<undefined | T>

    • Type Parameters

      • T

      Parameters

      • key: string
      • initialValue: T
      • Optionaloptions: { equalsFn?: (a: T, b: T) => boolean; storage?: Storage }

      Returns Signal<T>