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

## 🐛 Bug Report I thought that since immer updates arrays directly, it would be more or less as performant as updating the array directly, but this is not at...

## 🙋‍♂ Question I'm trying to use lit (using rollup) with immer, but I receive the following error: `ReferenceError: process is not defined` What is the correct way to configure...

question

# Problem Because every method is bound up in a `Class`, instantiated in the module factory, then exported, consumers will get _every_ method of Immer in their bundle, whether they...

Consider an application that uses _only_ `produce` but no other methods. This PR allows such an application to be properly tree-shaken by a bundler, to eliminate the other exports altogether....

## 🙋‍♂ Question ``` const a = { id: 1 }; const b = { id: 2, children: [a] }; const objs = { 1: a, 2: b }; const...

question

Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2. Release notes Sourced from glob-parent's releases. v5.1.2 Bug Fixes eliminate ReDoS (#36) (f923116) Changelog Sourced from glob-parent's changelog. 5.1.2 (2021-03-06) Bug Fixes eliminate ReDoS...

dependencies

Add an update pattern that explains how to replace & update objects in bulk through mutation, the docs felt like they could use a little more explanation Kudos to @markerikson...

## 🙋‍♂ Question I am unable to pass generic parameter type to my produce function in order to propagate that generic to type of draft itself like so: SearchContextProvider: ![Screenshot...

question

Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10. Release notes Sourced from ws's releases. 7.5.10 Bug fixes Backported e55e5106 to the 7.x release line (22c28763). Commits d962d70 [dist] 7.5.10 22c2876 [security] Fix...

dependencies

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...

dependencies