flinker-dom 0.0.2 → 0.0.3

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.
@@ -104,7 +104,7 @@ export class UIComponent {
104
104
  UIComponent.activeParent = p;
105
105
  }
106
106
  }
107
- if (this.affectSet.has('affectsChildrenProps')) {
107
+ else if (this.affectSet.has('affectsChildrenProps')) {
108
108
  this.childrenColl?.forEach(c => c.render('affectsChildrenProps'));
109
109
  }
110
110
  if (this.affectSet.size > 0) {
@@ -478,9 +478,11 @@ class Observer extends UIComponent {
478
478
  }
479
479
  didDomUpdate() {
480
480
  super.didDomUpdate();
481
- if (this.affectSet.has('affectsChildrenProps')) {
482
- if (this.instance && !this.instance.isDestroyed)
483
- this.instance.render('affectsProps', 'affectsChildrenProps');
481
+ if (this.instance && !this.instance.isDestroyed) {
482
+ if (this.affectSet.has('affectsProps'))
483
+ this.instance.render('affectsProps');
484
+ if (this.affectSet.has('affectsChildrenProps'))
485
+ this.instance.render('affectsChildrenProps');
484
486
  }
485
487
  }
486
488
  destroy() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flinker-dom",
3
3
  "description": "Free TypeScript library for writing frontend apps",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/Dittner/FlinkerDOM.git"