@coolon/angular-ui-powerups 14.6.3 → 14.7.0

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.
@@ -3350,6 +3350,11 @@ class AbstractTableModel extends GarbageCollector {
3350
3350
  this.firstVisibleColumn$ = chain(this._columnList).first();
3351
3351
  this.lastVisibleColumn$ = chain(this._columnList).last();
3352
3352
  this.rowSelectionDisabledOnAllColumns$ = chain(this._columnList).select(column => column.isRowSelectionEnabled()).count().equals(0);
3353
+ when(chain(this._rawDataSource).first()).becomesTruthy(it => {
3354
+ if (it === this.identityOf(it)) {
3355
+ console.warn("Table model identity function is using reference equality. This can cause lots of table re-rendering");
3356
+ }
3357
+ }, { once: true });
3353
3358
  }
3354
3359
  initialise(injector) {
3355
3360
  // not sure if I should define these at the module level or not...