Skip to content
Discussion options

You must be logged in to vote

Thanks @eomine for starting this. I will add some more remarks to your observarions:

_BaseComponent

_BaseComponent seems to be the most essential class to be extended when creating a new component.

It serves as it mostly as a "leave" in a tree of components. As a leave, Subclasses of this don't spawn other components. Though, the important disambiguation it has to the _CommonContainerComponent is that it sets [UPDATE_STRATEGY] = UPDATE_STRATEGY_SIMPLE; which changes the signature of the update function. This is not a strict requirement, a sub-class can also change it's UPDATE_STRATEGY. UPDATE_STRATEGY_SIMPLE means update(changedMap) where, the items in changedMap are the dependencies t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eomine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants