react-shadow-root
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -64,3 +64,3 @@ "use strict"; | ||
value: function componentDidUpdate() { | ||
ReactDOM.render(this.props.children, this.shadowRoot); | ||
_reactDom.default.render(this.props.children, this.shadowRoot); | ||
} | ||
@@ -70,3 +70,3 @@ }, { | ||
value: function componentDidMount() { | ||
this.shadowRoot = ReactDOM.findDOMNode(this).parentNode.attachShadow({ | ||
this.shadowRoot = _reactDom.default.findDOMNode(this).parentNode.attachShadow({ | ||
mode: this.props.mode | ||
@@ -73,0 +73,0 @@ }); |
{ | ||
"name": "react-shadow-root", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Adds a shadow root to React components", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
7252