Accepts an Editor function which will be passed a draft of the current
state. The function can manipulate the draft state using normal javascript
assignments and operations as if it wasn't@lauf/store.Immutable. When it
returns, @lauf/store.Store#write will be called on your behalf with the equivalent
@lauf/store.Immutable result.
Accepts an Editor function which will be passed a
draft
of the current state. The function can manipulate the draft state using normal javascript assignments and operations as if it wasn't @lauf/store.Immutable. When it returns, @lauf/store.Store#write will be called on your behalf with the equivalent @lauf/store.Immutable result.