react-alien-signals
    Preparing search index...

    Type Alias ReadableSignal<T>

    ReadableSignal: () => T

    WritableSignal is a function that returns the current signal value when called without arguments, or updates the signal when passed a new value. React hook setters additionally accept updater functions.

    Type Parameters

    • T

      The type of the signal value.

    Type Declaration

      • (): T
      • Returns T