Ross ROSS = Recommend OSS · open-source software intelligence for agents

immerjs/use-immer

Use immer to drive state with a React hooks observed · 2026-08-28

github.com/immerjs/use-immer · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2869
  • days_rel: n/a
  • days_push: 624
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

4548 stars · 99 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

use-immer is a set of React hooks (useImmer, useImmerReducer) that wrap the Immer library for immutable state management. It lets you mutate a draft state directly while producing immutable next states, as a drop-in alternative to useState and useReducer.

Use cases

  • manage react state with immer
  • update nested state without spread operators
  • replace usestate with mutable draft updates
  • use immer in a react reducer
  • simplify immutable state updates in react components

When to choose

  • you want to write state updates as direct mutations while keeping immutability
  • your components have deeply nested state that is painful to update immutably
  • you already use immer and want a hooks-based API

When to avoid

  • your state is simple primitives where useState suffices
  • you use a state management library like redux or zustand that already integrates immer
  • you are not using react

Facets

library · maturity stable

state-management frontend web-development browser react-hooks immer immutable-state typescript nodejs

1 source

Member repositories

RepositoryRoleHealth v2
immerjs/use-immermain32

For agents

markdown · JSON · MCP: product_card(name="immerjs/use-immer")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem