unadlib/mutative
Efficient immutable updates, about 3-6x faster than Immer. observed · 2026-10-11
Health v2 · maintenance only
70/100
- Activity 99
- Release rhythm 17
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 151.0
- age_days: 1669
- days_rel: 394
- days_push: 10
- n_releases_24m: 3
Adoption not part of the score
1998 stars · 35 forks observed · 2026-10-11
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Mutative is a TypeScript JavaScript library for efficient immutable state updates using a mutable draft API, producing new immutable structures. It is significantly faster than both handcrafted spread-based reducers and Immer, with support for JSON Patch, custom shallow copying, and optional freezing.
Use cases
- update deeply nested redux state without spread operators
- replace immer for faster immutable updates in react apps
- write reducers with mutable-style draft code
- generate patches from state changes
- manage large immutable data structures efficiently
- avoid accidental state mutations in reducers
When to choose
- you need immutable updates faster than immer or handcrafted reducers
- you want concise draft-based state update syntax in react/redux
- you need patch support or custom shallow copy control
When to avoid
- your state updates are trivial and spread operators suffice
- you depend on immer-specific plugins or auto-freeze ecosystem tooling
Facets
library · maturity stable
state-management serialization web-development frontend developer-tools browser cross-platform immutable-updates immer-alternative copy-on-write -patch redux react typescript nodejs web-server
5 sources
- readme: https://github.com/unadlib/mutative · fetched 2026-10-11 · 32b3e3eb027b
- homepage: http://mutative.js.org/ · fetched 2026-08-29 · bb6b6e6debef
- site_page: https://mutative.js.org/docs/intro · fetched 2026-08-29 · c3b28f37c0d7
- registry_npm: https://registry.npmjs.org/mutative · fetched 2026-08-29 · 3ca3612b892c
- site_page: https://mutative.js.org/blog/releases/1.0 · fetched 2026-08-29 · 921753a3acd6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| unadlib/mutative | main | 70 |
For agents
markdown · JSON · MCP: product_card(name="unadlib/mutative")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem