@viewfly/core 0.0.1-alpha.5 → 0.0.1-alpha.6

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.
@@ -898,7 +898,11 @@ let Renderer = class Renderer {
898
898
  this.diff(start.child, reusedAtom.child, childContext);
899
899
  }
900
900
  else if (reusedAtom.child) {
901
- this.cleanView(reusedAtom.child, false);
901
+ let atom = reusedAtom.child;
902
+ while (atom) {
903
+ this.cleanView(atom, false);
904
+ atom = atom.sibling;
905
+ }
902
906
  }
903
907
  if (isComponent) {
904
908
  start.jsxNode.rendered();
package/bundles/index.js CHANGED
@@ -899,7 +899,11 @@ exports.Renderer = class Renderer {
899
899
  this.diff(start.child, reusedAtom.child, childContext);
900
900
  }
901
901
  else if (reusedAtom.child) {
902
- this.cleanView(reusedAtom.child, false);
902
+ let atom = reusedAtom.child;
903
+ while (atom) {
904
+ this.cleanView(atom, false);
905
+ atom = atom.sibling;
906
+ }
903
907
  }
904
908
  if (isComponent) {
905
909
  start.jsxNode.rendered();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewfly/core",
3
- "version": "0.0.1-alpha.5",
3
+ "version": "0.0.1-alpha.6",
4
4
  "description": "Viewfly is a simple and easy-to-use JavaScript framework with an intuitive development experience.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -37,5 +37,5 @@
37
37
  "bugs": {
38
38
  "url": "https://github.com/viewfly/viewfly.git/issues"
39
39
  },
40
- "gitHead": "135aeda546b83c7947e888dfe40860858123b6fc"
40
+ "gitHead": "aedb326658afa6a712aebe3f22fe5209ae18a9f9"
41
41
  }