[]previous and next page

Stores with arrays

Stores with arrays in the Lists and keys guide.

For agentsUpdated

A store array can be passed straight to each. The list reads length and the indices through the store view, so push, splice, assignment and reconcile all update the list. Rows are matched by the item's identity, and a store gives every object one stable identity, so the unkeyed form is the right default for store items. Editing a field never rebuilds a row; it updates the one binding that reads the field.

Derived lists#

A filtered or sorted view is a derived value. Return the same item references and the rows are reused: