A component configuration describes an instantiation of a component.
There are two options for instantiating components:
- The instantiation is done based on a semantic component, i.e., a component that is a semantic
The first option is the suggested way for working with Components.js, as it allows a more semantic representation of the instantiation and is less verbose than the alternative. But in some cases, it may not be possible for a component to be semantically described easily. For example, you may want to inject a piece of code from an external library that does not provide a Components.js component definition. In those cases, it is more convenient to call the constructor of that component directly.