@farm.js/react 0.1.0-beta.17 → 0.1.0-beta.18
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.
|
@@ -6432,7 +6432,13 @@ function createKeyedRowsBlockComponent(owner, options = {}) {
|
|
|
6432
6432
|
else removed.push(instance);
|
|
6433
6433
|
}
|
|
6434
6434
|
if (nextIndex !== rows.keys.length) return false;
|
|
6435
|
-
const shouldPrepareBindings =
|
|
6435
|
+
const shouldPrepareBindings = this.currentProps.bindings.length > 0 && !this.currentProps.hostBlocks;
|
|
6436
|
+
if (shouldPrepareBindings && rows.items.length === 1 && this.currentProps.bindings.some(
|
|
6437
|
+
(binding) => !findCompilerHostTarget(this.instances.get(rows.keys[0]).element, binding.path)
|
|
6438
|
+
)) {
|
|
6439
|
+
this.activateFallback(afterCommit);
|
|
6440
|
+
return true;
|
|
6441
|
+
}
|
|
6436
6442
|
const preparedBindings = shouldPrepareBindings ? prepareKeyedRowBindingSetUpdates(this.currentProps, this.instances, rows) : void 0;
|
|
6437
6443
|
if (shouldPrepareBindings && !preparedBindings) {
|
|
6438
6444
|
this.activateFallback(afterCommit);
|