addComponent
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.
Adds a component to the store with the given refId.
The refId of the component to add.
The component to add. If it is null, the function does nothing.