Closed shengmin closed 6 years ago
Sometimes we want to read the current state during mutation, and it's expensive to read from the draft Proxy object according to immer, thus providing the current state to the mutator callback
Proxy
immer
Sometimes we want to read the current state during mutation, and it's expensive to read from the draft
Proxy
object according toimmer
, thus providing the current state to the mutator callback