6 ms·
Why would you be using Immer and Immutable.js together? They seem pretty much mutually exclusive. Immer works on plain JS objects and arrays, while Immutable.
by acemarke 8y ago
Why would you be using Immer and Immutable.js together? They seem pretty much mutually exclusive. Immer works on plain JS objects and arrays, while Immutable.js has its own set of APIs for objects.
- yatsyk 8y agoI do not use Immer and Immutable together. I use Immutable mostly as I want to have custom types. I think I'll use Immer most of the time after implementing api like [1] [1] https://github.com/mweststrate/immer/issues/202 https://github.com/mweststrate/immer/issues/202