WarUI

Delta Application from Full Snapshots

GRID-A03-F20P1baselinePlanned

Given a full new snapshot and getRowId, the grid computes the delta (adds, updates, removes) against its current rows and applies it as a transaction. Apps that only receive full snapshots still get minimal updates.

Planned. This page shows the specification from issue #179. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

500 rows, with polling running every 2 seconds and roughly 5% of rows changing per snapshot.

Expected behavior

Each snapshot produces a computed delta, and only the changed rows update. Deep mode detects changes even when the new objects are structurally identical but are new instances.

Planned API surface

rowDatagetRowIddeltaMode ('reference'|'deep'|'custom')rowEquals(a, b)onRowDataUpdated (delta summary)

Acceptance criteria

  • The computed delta matches the actual set differences (pending)
  • Reference mode treats a new instance as an update (pending)
  • Deep mode treats structurally equal objects as unchanged (pending)
  • A custom rowEquals overrides the comparison (pending)
  • Row order changes in the snapshot are applied when no sort is active (pending)