Function patchTargetFromFlags

  • Given a list of [flagKey, patchFactory] tuples, patches the target with patches where flag is true.

    Type Parameters

    • T extends object
    • EventMap
    • Flags

    Parameters

    Returns PatchedRef<T>