• Returns a reactive proxy of the object.

    The reactive conversion is "deep": it affects all nested properties. A reactive object also deeply unwraps any properties that are refs while maintaining reactivity.

    Type Parameters

    • T extends object

    Parameters

    • target: T

      The source object.

    Returns Reactive<T>

    const obj = reactive({ count: 0 })
    

    https://vuejs.org/api/reactivity-core.html#reactive