An alternate interface which provides automatic removal during unloading of the component

interface ILegacyUnloadHook {
    remove: (() => void);
}

Hierarchy (view full)

Properties

Properties

remove: (() => void)

Legacy Self remove the referenced component