Skip to content

Collections

Give each collection row its own reactive value, so an edit updates the readers of that row. Use a lookup for arbitrary requested keys and a selector for selection membership.

  • Projections: keyed and index rows, factory lifetimes, pending rows and UI lists.
  • Lookups: one derived value per requested key.
  • Selectors: selection membership that wakes only the two ends of a change.
  • Deep and keyed updates: immutable updates and focused reads.
  • Collection views: filtering, mapping, sorting, grouping and paging.
  • Aggregates: incremental totals, counts and folds over rows.

Start with Signals and Memos. For loading and errors, see Async and pending.

Edit this page