Immutable Data Replacement
In immutable workflows (Redux, signals, React state), the app passes a new rowData array on every change. The grid detects changes by reference and, when row identity is available, updates only the rows that changed. Unchanged rows keep their DOM and state.
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
200 rows held in an immutable store. getRowId is set and a render-counter overlay is enabled.
Expected behavior
Updating one row re-renders only that row, which the per-row render counter shows. Without getRowId, the whole set re-binds and the scroll position resets to the top unless preservation is enabled.
Planned API surface
rowDatagetRowIdimmutableData (reference-equality mode)onRowDataUpdatedAcceptance criteria
- Passing the same array reference does nothing (pending)
- A new array whose elements keep the same object references causes no row re-render (pending)
- Only rows whose object reference changed are refreshed (pending)
- Scroll position is preserved when identity is available (pending)