Const

ADDON_KIND_COMPONENT_CACHE

@ng-forge/dynamic-forms

Cache for resolved addon-kind components.

Provided per-form by provideDynamicFormDI() so two <df-dynamic-form> instances with conflicting loadComponent factories for the same kind never share a stale entry. Has no providedIn: 'root' factory — the registry consumer is always inside a form scope, and a root fallback would only hide misconfiguration (an SSR cross-request hit if a future code path forgot to provide it locally).

Mirrors COMPONENT_CACHE (field types) and WRAPPER_COMPONENT_CACHE (wrappers).

Signature

const ADDON_KIND_COMPONENT_CACHE: InjectionToken<Map<string, Type<unknown>>>