react-vant-nova 1.1.9-test → 1.2.0-test
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/bundle/react-vant-nova.es.js +5 -6
- package/bundle/react-vant-nova.js +5 -6
- package/bundle/react-vant-nova.min.js +1 -1
- package/es/utils/dom/render.d.ts +1 -1
- package/es/utils/dom/render.js +7 -10
- package/lib/utils/dom/render.d.ts +1 -1
- package/lib/utils/dom/render.js +7 -16
- package/package.json +1 -1
|
@@ -2090,12 +2090,11 @@ function render(node, container) {
|
|
|
2090
2090
|
function legacyUnmount(container) {
|
|
2091
2091
|
return unmountComponentAtNode(container);
|
|
2092
2092
|
}
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
});
|
|
2093
|
+
function concurrentUnmount(container) {
|
|
2094
|
+
var _a;
|
|
2095
|
+
(_a = container[MARK]) == null ? void 0 : _a.unmount();
|
|
2096
|
+
delete container[MARK];
|
|
2097
|
+
return true;
|
|
2099
2098
|
}
|
|
2100
2099
|
function unmount(container) {
|
|
2101
2100
|
if (createRoot) {
|
|
@@ -2871,12 +2871,11 @@
|
|
|
2871
2871
|
function legacyUnmount(container) {
|
|
2872
2872
|
return unmountComponentAtNode(container);
|
|
2873
2873
|
}
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
});
|
|
2874
|
+
function concurrentUnmount(container) {
|
|
2875
|
+
var _a;
|
|
2876
|
+
(_a = container[MARK]) == null ? void 0 : _a.unmount();
|
|
2877
|
+
delete container[MARK];
|
|
2878
|
+
return true;
|
|
2880
2879
|
}
|
|
2881
2880
|
function unmount(container) {
|
|
2882
2881
|
if (createRoot) {
|