Function resistant

  • Register an object/array to the ReactiveStore.

    Type Parameters

    • T extends ReactAble

    • R extends boolean = true

    Parameters

    • name: string

      name in the store.

    • object: T

      Object/Array to register and make it reactive.

    • recursive: boolean = true

      Transform object inside an array as well.

    • Optional protect: string[]

    Returns R extends true
        ? Reactivities<T>
        : Reactive<T>

Generated using TypeDoc