Update functions receive transition inputs, access current version data via this,
and return a partial update containing only the properties to change.
Type Parameters
T
The state type
Iextendsreadonlyunknown[]
The transition input parameters as a readonly tuple
State update.
Update functions receive transition inputs, access current version data via
this, and return a partial update containing only the properties to change.