It doesn’t matter if the components are exactly the same, as long as the desired result is.
It is related to this thread:
I came to the conclusion that In order to put it as a single component, it has to have two classes MyComponent(component) inside, that update independently