Allows traversing through all the Component that define a hierarchy in a given LithoView.
It is a generic purpose traversion, which allow whoever calls traverse to perform an operation at any component that is traversed (and its parent).