You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could provide a default initialize() function as part of AragonApp that just calls initialized().
This would allow us to recommend all AragonApp subclasses to include an initialize() block that always invokes super.initialize() immediately (this is very similar to how React does component construction), greatly simplifying how contracts subclassed more than one level deep (e.g. Agent, fundraising's Pool) can define custom initialization behaviour.
We could provide a default
initialize()
function as part ofAragonApp
that just callsinitialized()
.This would allow us to recommend all
AragonApp
subclasses to include aninitialize()
block that always invokessuper.initialize()
immediately (this is very similar to how React does component construction), greatly simplifying how contracts subclassed more than one level deep (e.g. Agent, fundraising's Pool) can define custom initialization behaviour.From React's documentation:
cc @izqui @facuspagnuolo @osarrouy
The text was updated successfully, but these errors were encountered: