# aweary/react-copy-write

✍️ Immutable state with a mutable API

Repository: https://github.com/aweary/react-copy-write
Canonical: https://ross.abutalabs.com/products/react-copy-write
Language: JavaScript
License: MIT
License Family: permissive
Topics: react, immutable, copy-on-write, immer, state
Last push: 2019-02-12T15:41:33+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3069, "days_push": 2759, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1775, forks 54 (observed 2026-08-28T04:05:34.429993+00:00)

## What it is
react-copy-write is an immutable React state management library that lets you update state with a simple mutable API. It is powered by Immer's copy-on-write technique, providing structural sharing and memoized selectors for efficient re-rendering.

## Use cases
- manage immutable state in React apps with a mutable API
- avoid verbose object spreading for deep state updates
- efficiently re-render React components with structural sharing
- create memoized selectors for React state
- share state across React components with Provider and Consumer

## When to choose
- you want immutable state updates without boilerplate spreading
- you prefer a mutable-style API backed by Immer
- your React app uses render props and Context-based state

## When to avoid
- you need a modern hooks-based state management solution
- you require a stable, actively maintained library
- you use a state library like Redux or Zustand already

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management
- domain: frontend, web-development
- platform: browser
- tags: react, immutable-state, copy-on-write, immer, render-props, nodejs

## Member repositories
- aweary/react-copy-write (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:34.429993+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:25:20.168671+00:00, confidence not recorded.
  - readme: https://github.com/aweary/react-copy-write (fetched 2026-08-28T04:05:34.429993+00:00, sha c08765196959)
- Data as of 2026-08-30T08:39:29.467469+00:00.
