@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.
|
@@ -6438,7 +6438,13 @@ function createKeyedRowsBlockComponent(owner, options = {}) {
|
|
|
6438
6438
|
else removed.push(instance);
|
|
6439
6439
|
}
|
|
6440
6440
|
if (nextIndex !== rows.keys.length) return false;
|
|
6441
|
-
const shouldPrepareBindings =
|
|
6441
|
+
const shouldPrepareBindings = this.currentProps.bindings.length > 0 && !this.currentProps.hostBlocks;
|
|
6442
|
+
if (shouldPrepareBindings && rows.items.length === 1 && this.currentProps.bindings.some(
|
|
6443
|
+
(binding) => !findCompilerHostTarget(this.instances.get(rows.keys[0]).element, binding.path)
|
|
6444
|
+
)) {
|
|
6445
|
+
this.activateFallback(afterCommit);
|
|
6446
|
+
return true;
|
|
6447
|
+
}
|
|
6442
6448
|
const preparedBindings = shouldPrepareBindings ? prepareKeyedRowBindingSetUpdates(this.currentProps, this.instances, rows) : void 0;
|
|
6443
6449
|
if (shouldPrepareBindings && !preparedBindings) {
|
|
6444
6450
|
this.activateFallback(afterCommit);
|