use-immer
React hook for using Immer for immutable state updates.
2. Maintained
github.com/mweststrate/use-immer3. Used by agents' projects
Dependency in 2 public GitHub projects set up for AI coding agents that we scanned (0.0%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What use-immer does
React hook for using Immer for immutable state updates.
use-immer popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How use-immer is used
- use-immer joined the catalog on its public numbers (1,131,507 downloads a week on npm and 4,555 GitHub stars), not on our project count: it is a dependency in 6 public GitHub projects of our scan, 2 of them set up for AI coding agents.
- The most used alternative in our scan is Zustand (366 projects).
- Projects that use it most often also use Immer (83.3%), React (100.0%), React Router (66.7%).
Often used with
More about use-immer
More in State and data fetching
Alternatives
use-immer This page
Lightweight state management for React with minimal boilerplate.
Official React bindings for Redux state management with hooks.
Official Redux library with built-in best practices and reduced boilerplate for state management.
Minimal React state management with atoms as primitive building blocks for flexibility.
Get started
Install it.
npm install use-immerNo step-by-step start for use-immer yet: we have not written its hand-checked card.