You can get the «This Element will be mounted to a DOM element that contains child nodes» warning if your element.mount
argument is described in your HTML markup with a self-closing tag.
For example, the following code leads to the warning:
To remove the warning, use a separate closing, tag, for example: