docs: function getRoot() {
      /**
       * Return existing root if found.
       */
      const existingRoot = document.getElementById(ROOT_ID);
      if (existingRoot) {
        return existingRoot;
      }
  
      /**
       * If no existing root, create and return a new root.
       */
      const newRoot = document.createElement('div');
      newRoot.id = ROOT_ID;
      document.body.appendChild(newRoot);
      return newRoot;
    }