Skip to content

RedDokia API Reference / RedDokiaViewLifecycle

Interface: RedDokiaViewLifecycle<TParams> ​

Lifecycle object optionally returned by a framework-agnostic view (container, ctx) => ... callback.

Type Parameters ​

Type ParameterDefault type
TParamsRecord<string, any>

Properties ​

PropertyTypeDescription
unmount?() => voidInvoked when the view or workbench instance is permanently destroyed.
update?(ctx) => voidInvoked whenever the view's render props (width, height, visible, groupId, params, etc.) change.