docs: function removeNodeFromSlot (slot, node) {
    const isInDefaultMode = slot.assignedNodes().length === 0;
    unregisterNode(slot, node, () => {
      if (isInDefaultMode) {
        slot.__removeChild(node);
      }
    });
  }