diff --git a/src/index.js b/src/index.js index f82fbd5..7a54709 100644 --- a/src/index.js +++ b/src/index.js @@ -125,7 +125,7 @@ function connectedCallback() { this._vdom = h( ContextProvider, - { ...this._props, context }, + { customElementRoot: this._root, ...this._props, context }, toVdom(this, this._vdomComponent) ); (this.hasAttribute('hydrate') ? hydrate : render)(this._vdom, this._root);