SIGN IN SIGN UP
immerjs / immer UNCLAIMED

Create the next immutable state by mutating the current one

0 0 57 JavaScript

feat: Optimize Immer performance where possible, introduce `setUseStrictIteration` (#1164)

* Use WeakMap caching implementation of isPlainObject

* Add some early returns to `finalizeProperty`

* Add `strictIteration` option

* Add non-strict iteration handling

* Use strict iteration option

* Switch back to default strict iteration

* Fix strict iteration checks

* Shorten benchmark array sizes for faster results

* Dedupe Map/Set method overrides

* Removed old isPlainObject impl

* Add early bailout to `isFrozen`
M
Mark Erikson committed
e1996ceb8a3a180c565b7304a4f3c4ce3b1a08ff
Parent: 40aa814
Committed by GitHub <noreply@github.com> on 10/25/2025, 11:29:59 AM