feat(session-projection): unit-declared viewKey change token

Review follow-up (imccyu): comparing view(previous) recomputes the view on every quiet change. The wire block now takes an optional viewKey(state) declaring the

Feature

Review follow-up (imccyu): comparing view(previous) recomputes the view on every quiet change. The wire block now takes an optional viewKey(state) declaring the cheap comparison token; the drive compares tokens across the previous and next states and calls view only for an actual push. Default stays the raw view output. turnOutline declares viewKey: state => state.turns, making the identity-stable

Date
2026-08-31
Version
master@acc23f6
commit
acc23f6

View commit on GitHub

Review follow-up (imccyu): comparing view(previous) recomputes the view on every quiet change. The wire block now takes an optional viewKey(state) declaring the cheap comparison token; the drive compares tokens across the previous and next states and calls view only for an actual push. Default stays the raw view output. turnOutline declares viewKey: state => state.turns, making the identity-stable