Een DOM-element converteren naar virtual-DOM in widgets

You can’t guarantee when a widget or a component is loaded. However you can do the work in a component event like didInsertElement.