Just to make sure this question is shown as answered:
createRenderRoot
allows you to override the operation that creates a shadow root. It's usually used to render to light dom:
createRenderRoot() {
return this;
}
Though it could be used to render somewhere else entirely.
I really recommend using shadow DOM. Composition is difficult if an element overwrites its own light DOM.
Comments
Post a Comment