getComponentById(id, fn = null) {
    let comp = null;
    this.everyComponent((component, components) => {
      if (component.id === id) {
        comp = component;
        if (fn) {
          fn(component, components);
        }
        return false;
      }
    });
    return comp;
  }
Return a component provided the Id of the component.
@param {string} id - The Id of the component.
@param {Function} fn - Called with the component once it is retrieved.
@returns {object} - The component retrieved.