docs: function destroyComponent(instance) {
              if (util.isFn(instance.destroy) && !instance._destroyed) {
                  instance.destroy();
                  instance._destroyed = true;
              }
          }