IM

Immer

Create the next immutable state by mutating a draft — structural sharing under the hood, zero boilerplate.

JavaScript state free Open Source since 2017

Immer lets you write update logic by directly mutating a draft object — it records changes via Proxy and produces a new immutable value using structural sharing. Used as Redux Toolkit’s default update mechanism, it eliminates the spread-heavy reducer pattern without sacrificing immutability guarantees.

// commonly used with

Declarative UI library from Meta for building component-based web interfaces.

web 2013

React framework with file-based routing, SSR, SSG, and API routes — the standard for production …

web 2016

Full-stack React framework built on web standards — loaders, actions, and nested routing with …

web 2021

// related libraries

Utility library delivering modularity, performance, and extras for working with arrays, …

utility 2012 open source

// tags

immutablestatereduxjavascripttypescript
Something wrong? Edit this entry on GitHub.
✏ Edit on GitHub