We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3482a1e commit 705f554Copy full SHA for 705f554
packages/core/utils/renderer-preact.js
@@ -38,11 +38,5 @@ export function withPreact(Base = HTMLElement){
38
// this.rendered && this.rendered();
39
// }
40
41
- disconnectedCallback() {
42
- super.disconnectedCallback && super.disconnectedCallback();
43
- // Preact hack https://github.com/developit/preact/issues/53
44
- const Nothing = () => null;
45
- this._preactDom = render(<Nothing />, this._renderRoot, this._preactDom);
46
- }
47
}
48
};
0 commit comments