{
 "kind": "tool",
 "slug": "immer",
 "path": "tools/immer/",
 "name": "Immer",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "State and data fetching",
   "tools/state-data/"
  ]
 ],
 "lead": "Immutable state management by mutating a draft in a simpler API.",
 "chips": [
  {
   "label": "State and data fetching",
   "path": "tools/state-data/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install immer"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/immerjs/immer"
  },
  {
   "label": "Website",
   "href": "https://github.com/immerjs/immer#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/immerjs/immer"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 10, 2026",
   "note": "Latest GitHub release Nov 10, 2026. ",
   "src": "https://github.com/immerjs/immer"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "47 projects",
   "status": "info",
   "sub": "#7 of 53 in its category",
   "note": "Dependency in 47 public GitHub projects set up for AI coding agents that we scanned (0.8%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Immer does",
   "parts": [
    {
     "t": "prose",
     "text": "Immutable state management by mutating a draft in a simpler API."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Immer popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "77",
       "of": "/ 100",
       "l": "Gid Score, #154 overall"
      },
      {
       "n": "99.9M",
       "l": "downloads a week, npm"
      },
      {
       "n": "29K",
       "l": "GitHub stars"
      },
      {
       "n": "47",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Immer is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Immer is a dependency in 47 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.0% of the 4,867 JavaScript/TypeScript ones), #7 of 53 in state and data fetching.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 155; those are left out of every share on this page.",
      "The most used alternative in our scan is Zustand (366 projects).",
      "Projects that use it most often also use React (97.9%), Zustand (70.2%), Radix UI (53.2%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "28 projects, 0.9%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "26 projects, 1.1%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "18 projects, 0.6%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 97.9% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 70.2% of its projects",
       "v": "Zustand",
       "path": "tools/zustand/"
      },
      {
       "l": "In 53.2% of its projects",
       "v": "Radix UI",
       "path": "tools/radix-ui/"
      },
      {
       "l": "In 48.9% of its projects",
       "v": "Testing Library",
       "path": "tools/testing-library/"
      },
      {
       "l": "In 48.9% of its projects",
       "v": "jsdom",
       "path": "tools/jsdom/"
      },
      {
       "l": "In 100.0% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 61.7% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 44.7% of its projects",
       "v": "date-fns",
       "path": "tools/date-fns/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Immer",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "Open Collective: https://opencollective.com/immer",
        "Own page: https://www.paypal.me/michelweststrate",
        "Patreon: https://patreon.com/mweststrate"
       ]
      },
      {
       "title": "More in State and data fetching",
       "path": "tools/state-data/",
       "items": [
        {
         "text": "TanStack Query",
         "path": "tools/tanstack-react-query/"
        },
        {
         "text": "RxJS",
         "path": "tools/rxjs/"
        },
        {
         "text": "Pinia",
         "path": "tools/pinia/"
        },
        {
         "text": "SWR",
         "path": "tools/swr/"
        },
        {
         "text": "nuqs",
         "path": "tools/nuqs/"
        },
        {
         "text": "React Redux",
         "path": "tools/react-redux/"
        },
        {
         "text": "Redux Toolkit",
         "path": "tools/reduxjs/"
        },
        {
         "text": "Jotai",
         "path": "tools/jotai/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Immer",
       "me": true,
       "facts": [
        "MIT",
        "Gid 77",
        "99.9M/wk"
       ]
      },
      {
       "name": "Zustand",
       "why": "Lightweight state management for React with minimal boilerplate.",
       "path": "tools/zustand/",
       "facts": [
        "MIT",
        "Gid 88",
        "96.9M/wk"
       ]
      }
     ],
     "more": "Compare Immer with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install immer"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Immer yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm immer"
  ],
  [
   "Category",
   "State and data fetching"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "77.2"
  ],
  [
   "Rank in category",
   "#7 of 53"
  ],
  [
   "GitHub",
   "immerjs/immer"
  ],
  [
   "Last change",
   "Nov 10, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/immerjs.png"
}