it would be great if there were an option for custom code going before/after generated code.
for example:
an editor component, that wants a safe-guard ‘store’ function to store the contents of the various components to a data object when the editor is destroyed.
however, the call to this function cannot be made in the destructor, as the only place available to put it is after the components have been deleted!