@christianmurphy/reactive-elements
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@christianmurphy/reactive-elements", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -27,3 +27,3 @@ import * as utils from './utils'; | ||
const observer = new MutationObserver(() => { | ||
ReactDOM.unmountComponentAtNode(self); | ||
ReactDOM.unmountComponentAtNode(self.shadowRoot); | ||
const props = utils.getProps(self); | ||
@@ -65,3 +65,3 @@ props.children = utils.getChildren(self); | ||
disconnectedCallback() { | ||
ReactDOM.unmountComponentAtNode(this); | ||
ReactDOM.unmountComponentAtNode(this.shadowRoot); | ||
} | ||
@@ -68,0 +68,0 @@ } |
430717