ddd-react 1.10.7 → 1.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -6
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -215,11 +215,7 @@ function V(e, t, r) {
|
|
|
215
215
|
}
|
|
216
216
|
function tt(e, t, r, n) {
|
|
217
217
|
const o = e.tag, { props: i } = C(e), s = new o(i, n);
|
|
218
|
-
|
|
219
|
-
s.mount(t, r), e.component = s, e.el = s.firstElement || null;
|
|
220
|
-
} catch {
|
|
221
|
-
s.vdom && (e.component = s);
|
|
222
|
-
}
|
|
218
|
+
s.mount(t, r), e.component = s, e.el = s.firstElement || null;
|
|
223
219
|
}
|
|
224
220
|
function L(e, t, r) {
|
|
225
221
|
if (r == null) {
|
|
@@ -489,7 +485,7 @@ class T {
|
|
|
489
485
|
throw new Error("Component is already mounted");
|
|
490
486
|
ht(this) && !this.subscribedProvider && this.subscribeToProvider(), this.updateContext();
|
|
491
487
|
try {
|
|
492
|
-
this.vdom = this.render(), this.hostEl = t, d(this.vdom, t, r, this)
|
|
488
|
+
this.vdom = this.render(), this.hostEl = t, this.isMounted = !0, d(this.vdom, t, r, this);
|
|
493
489
|
} catch (n) {
|
|
494
490
|
this.handleError(n, "mount");
|
|
495
491
|
}
|