Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

use-immer

React hook for using Immer for immutable state updates.

State and data fetchingNPM

GitHubWebsite

1. License

License from npm.

github.com/mweststrate/use-immer

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

46 / 100
Gid Score, #2413 overall
1.1M
downloads a week, npm
4,555
GitHub stars
2
agent projects use it
use-immer: downloads per weeknpm, use-immer 1,131,507
use-immer: GitHub starsmweststrate/use-immer 4,555

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

In 83.3% of its projects
In 100.0% of its projects
In 66.7% of its projects
In 66.7% of its projects
In 83.3% of its projects
In 66.7% of its projects
In 50.0% of its projects
In 50.0% of its projects

More about use-immer

More in State and data fetching

Alternatives

use-immer This page

MITGid 461.1M/wk

Zustand

Lightweight state management for React with minimal boilerplate.

MITGid 8896.9M/wk

React Redux

Official React bindings for Redux state management with hooks.

MITGid 7764M/wk

Redux Toolkit

Official Redux library with built-in best practices and reduced boilerplate for state management.

MITGid 7452.6M/wk

Jotai

Minimal React state management with atoms as primitive building blocks for flexibility.

MITGid 7211M/wk

Compare use-immer with another tool

Get started

Install it.

npm install use-immer

No step-by-step start for use-immer yet: we have not written its hand-checked card.