addComponent

fun addComponent(refId: String, component: ZRef?)(source)

Adds a component to the store with the given refId.

Parameters

refId

The refId of the component to add.

component

The component to add. If it is null, the function does nothing.