# dustingetz/react-cursor

Immutable state for React.js

Repository: https://github.com/dustingetz/react-cursor
Canonical: https://ross.abutalabs.com/products/react-cursor
Language: JavaScript
License Family: other
Archived: true
Last push: 2017-01-27T19:51:23+00:00

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

## Adoption (not part of the score)
Stars 1025, forks 50 (observed 2026-08-28T04:03:16.575940+00:00)

## What it is
react-cursor is a small JavaScript library providing immutable cursors for managing deeply nested state in React applications, ported from a ClojureScript abstraction. It lets a stateful root component hold all app state while downtree views remain stateless.

## Use cases
- manage immutable nested state in react apps
- hold all react state at the root of the component tree
- make stateless react views with centralized state
- immutable updates on deeply nested javascript data
- efficient react re-renders with value-equality cursors

## When to choose
- you maintain a legacy React codebase already using cursors
- you want a tiny, decoupled immutable state abstraction with a minimal API

## When to avoid
- starting a new React project - modern React has built-in state tools and popular alternatives like Redux or Immer
- you need actively maintained software with ongoing support
- you need a license file or guaranteed legal clarity beyond the npm MIT metadata

## Facets
- artifact type: library
- maturity: abandoned
- function: state-management
- domain: frontend, web-development
- platform: browser
- tags: react, immutable-state, cursors, functional-programming, flux, nodejs

## Member repositories
- dustingetz/react-cursor (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:16.575940+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-30T07:08:03.470814+00:00, confidence not recorded.
  - readme: https://github.com/dustingetz/react-cursor (fetched 2026-08-28T04:03:16.575940+00:00, sha 0d9a3c30ef87)
  - registry_npm: https://registry.npmjs.org/react-cursor (fetched 2026-08-29T13:08:18.012415+00:00, sha 577fcb8e4d8a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
