_addComp(comp: Comp): void
Adds a component or anonymous component.
Removes a component without checking for dependencies
Check if any id of a component's require is not present in `_compsIds`, if
there's, throw an error.
paramcomp- The component for checking.
Check if any component (in `_compStates`) is dependent of compId, if
there's, throw an error.
paramcompId- Component ID for searching.