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 fb98c0b commit 1d6a949Copy full SHA for 1d6a949
src/React/assets/src/render_controller.ts
@@ -20,10 +20,10 @@ export default class extends Controller {
20
props: Object,
21
};
22
private unmountTimeoutId: any;
23
-
+
24
connect() {
25
clearTimeout(this.unmountTimeoutId);
26
27
const props = this.propsValue ? this.propsValue : null;
28
29
this.dispatchEvent('connect', { component: this.componentValue, props: props });
@@ -57,7 +57,7 @@ export default class extends Controller {
57
58
element.root.render(reactElement);
59
}
60
61
_unmountReactElement() {
62
(this.element as any).root.unmount();
63
this.dispatchEvent('unmount', {
0 commit comments