docs: public void updateMainComponent(Component comp) {
  
          comp.setSizeFull();
          m_rootLayout.setMainContent(comp);
          Map<String, Object> attributes = getAttributesForComponent(comp);
          updateAppAttributes(attributes);
      }