vapor-chamber API reference - v1.16.0
    Preparing search index...

    Function deepSignal

    • deepSignal — a deeply-reactive Signal<T> backed by Vue's ref().

      Unlike the core signal() (shallow), nested-property mutation of the value triggers reactivity. Requires Vue to be present and detected; if Vue is not yet available it falls back to the core signal() (call await waitForVueDetection() first if you need a hard guarantee). In a component setup() Vue is always detected by the time this runs.

      Type Parameters

      • T

      Parameters

      • initial: T

      Returns Signal<T>