# use-immer — card for AI agents

React hook for using Immer for immutable state updates.

Category: State and data fetching · npm package `use-immer` · latest version 0.11.0 (checked 2026-11-01)
Install: `npm install use-immer`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 46.2 (#2413 of all tools, 44 of 53 in its category)
- Used in 2 public projects set up for AI coding agents (0.0%)
- Downloads last week: 1,131,507 (as of 2026-11-24), +56.0% over 4 weeks
- GitHub stars: 4,555 (as of 2026-11-24)
- Last push: 2024-12-17

## Often used with
Immer 83.3%, React 100.0%, React Router 66.7%, Vite 66.7%, Tailwind CSS 83.3%, Prettier 66.7%

## Checked alternatives (same job)
- Zustand: https://agentgid.com/tools/zustand/agent.md
- React Redux: https://agentgid.com/tools/react-redux/agent.md
- Redux Toolkit: https://agentgid.com/tools/reduxjs/agent.md
- Jotai: https://agentgid.com/tools/jotai/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/use-immer/
- Homepage: https://github.com/mweststrate/use-immer#readme
- Repository: https://github.com/mweststrate/use-immer

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
