immer icon indicating copy to clipboard operation
immer copied to clipboard

Create the next immutable state by mutating the current one

Results 131 immer issues
Sort by recently updated
recently updated
newest added

``` h.createElement(mt,y({},t))},hq.create=function(){};var vq=hq,mq=Object.prototype.hasOwnProperty;function gq(e,t,n){for(n of e.keys())if(yq(n,t))return n}function yq ```

question

## 🙋‍♂ Question Similar to #869. Is it possible to add a callback or handler or mutated object when a draft is modified? The use-case is re-rendering a draft when...

question

Patches generated by the current implementation do not follow the RFC method for removing an element from an array (https://www.rfc-editor.org/rfc/rfc6902#page-13) and cannot be used from other languages (e.g., https://pypi.org/project/jsonpatch/).

1. Jimmer doc URL moved. 2. Kotlin is support, Now both Java and Kotlin can write immer style code. 3. Give example code and output

I just spent 2 hours chasing down a bug caused by autoFreeze being enabled by default. Immer is all about immutability, and it is really unexpected to pass an object...

proposal

## 🐛 Bug Report `applyPatches` throws error `Cannot apply patch, path doesn't resolve: map/1/b` when applying `inversePatches` generated by the following `produce` call: ```ts interface Test { a: number; b:...

Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...

dependencies

Bumps [terser](https://github.com/terser/terser) from 4.6.3 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...

dependencies

## 🚀 Feature Proposal Right now it's really hard to figure out how to properly type a producer function. It would be really nice if there was an easy `Producer`...

good first issue
proposal
typescript

## 🙋‍♂ Question I'm trying to use `immer` in Vercel's Edge Functions (not directly but as a `redux-toolkit` dependency) and getting the following error: ``` ./node_modules/immer/dist/immer.esm.js Dynamic Code Evaluation (e....

question
issue-lacks-relevant-information