Skip to content

Commit 7200e06

Browse files
authored
Merge branch 'master' into hydrate-option
2 parents 533c83a + e6eda8d commit 7200e06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function connectedCallback() {
2525
}
2626

2727
function attributeChangedCallback(name, oldValue, newValue) {
28+
if (!this._vdom) return;
2829
const props = {};
2930
props[name] = newValue;
3031
this._vdom = cloneElement(this._vdom, props);

0 commit comments

Comments
 (0)