@farm.js/react 0.1.0-beta.33 → 0.1.0-beta.35

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.
package/README.md CHANGED
@@ -518,6 +518,13 @@ setItems((current) => current.toSpliced(firstIndex, 25, ...firstRefresh));
518
518
  setItems((current) => current.toSpliced(secondIndex, 25, ...secondRefresh));
519
519
  ```
520
520
 
521
+ When every keyed list in a component is plain and has no identity, `Set` membership, or `Map`
522
+ lookup targets, single-item position hints (including range removal) select a smaller runtime
523
+ without target tracking. Ordinary map and append updates and complete reconciliation remain
524
+ available. Any sibling with targets, conditional content, host scopes, or broader structural hints
525
+ retains the corresponding full-capability runtime. Batch insertion and window replacement keep
526
+ their existing runtimes. This changes payload size, not array-method or React behavior.
527
+
521
528
  The compiler recognizes a concise functional setter or a setter block containing exactly one direct
522
529
  `return`. Its position must be either a safe-integer literal or a compiler-safe runtime expression,
523
530
  such as an identifier, property read, arithmetic, conditional, or safe `Math` call. The update must insert
@@ -7637,6 +7637,14 @@ var keyedRowsPositionHintedRuntimeFeature = {
7637
7637
  })
7638
7638
  })
7639
7639
  };
7640
+ var keyedRowsPlainPositionHintedRuntimeFeature = {
7641
+ name: "keyed-rows:plain-position-hinted",
7642
+ create: (owner) => ({
7643
+ KeyedRows: createKeyedRowsBlockComponentCore(owner, {
7644
+ keyedUpdates: keyedPositionUpdateRuntime
7645
+ })
7646
+ })
7647
+ };
7640
7648
  var keyedRowsBatchPositionHintedRuntimeFeature = {
7641
7649
  name: "keyed-rows:batch-position-hinted",
7642
7650
  create: (owner) => ({
@@ -8902,6 +8910,7 @@ exports.keyedRowsMapReorderHintedRuntimeFeature = keyedRowsMapReorderHintedRunti
8902
8910
  exports.keyedRowsMappedRollingWindowHintedRuntimeFeature = keyedRowsMappedRollingWindowHintedRuntimeFeature;
8903
8911
  exports.keyedRowsMembershipRuntimeFeature = keyedRowsMembershipRuntimeFeature;
8904
8912
  exports.keyedRowsPlainMapReorderHintedRuntimeFeature = keyedRowsPlainMapReorderHintedRuntimeFeature;
8913
+ exports.keyedRowsPlainPositionHintedRuntimeFeature = keyedRowsPlainPositionHintedRuntimeFeature;
8905
8914
  exports.keyedRowsPlainReorderHintedRuntimeFeature = keyedRowsPlainReorderHintedRuntimeFeature;
8906
8915
  exports.keyedRowsPlainRuntimeFeature = keyedRowsPlainRuntimeFeature;
8907
8916
  exports.keyedRowsPositionHintedRuntimeFeature = keyedRowsPositionHintedRuntimeFeature;