immer@11.1.15
// Create your next immutable state by mutating the current one
$ npm install immer
downloads/wk
50,089,070
license
MIT
version
11.1.15
published
Jul 16, 2026
What is immer?
Immer is a JavaScript library that lets you write state updates using normal mutable code, then automatically produces an immutable snapshot of the result. It's useful when you need immutable state (for change detection, undo/redo, or time-travel debugging) but find writing immutable operations tedious or error-prone. Under the hood, Immer uses copy-on-write to ensure only modified parts of your state are copied, keeping performance efficient.
Links
Keywords
Maintainers
mweststrate, aleclarson