rebuild() {
    this.destroy();
    this.init();
    this.visible = this.hasCondition() ? !this.conditionallyHidden() : !this.component.hidden;
    return this.redraw();
  }
Rebuild and redraw a component.
@returns {Promise<void>} - A promise that resolves when the component is done rebuilding and redrawing.