Create the next immutable state by mutating the current one
Create the next immutable state by mutating the current one
Create the next immutable state tree by simply modifying the current tree
Winner of the "Breakthrough of the year" React open source award and "Most impactful contribution" JavaScript open source award in 2019
You can use Gitpod (a free online VSCode like IDE) for contributing online. With a single click it will launch a workspace and automatically:
yarn run start.so that you can start coding straight away.
The documentation of this package is hosted at https://immerjs.github.io/immer/
Did Immer make a difference to your project? Join the open collective at https://opencollective.com/immer!
Automated documentation translations — Dutch + updated Chinese demo
Docs: Chinese (zh-CN) website translation is outdated vs English docs
WritableDraft flattens variadic tuples into plain arrays, losing tuple structure
Branding Drafts on Type level
[Feature Request] Support for "Splice" patches in arrays for CRDT/Y.js integration (and others)
Unexpected undefined not assigned
Suggestion: Add notify method to allow signal based reactivity
"Maximum call stack exceeded" with circular references
isModified helper
Options for older browser support in v10 (or continuing to use v9 somehow?)