# mquan/cortex

An immutable data store for managing deeply nested structure with React

Repository: https://github.com/mquan/cortex
Canonical: https://ross.abutalabs.com/products/mquan-cortex
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2018-02-20T10:20:21+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4604, "days_push": 3116, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1055, forks 40 (observed 2026-08-28T04:03:24.317742+00:00)

## What it is
Cortex is a lightweight JavaScript library providing an immutable data store for managing deeply nested data structures in React applications. It supports one-directional data flow with efficient batch updates and simple APIs for traversing and updating nested values.

## Use cases
- manage deeply nested state in React apps
- immutable data store for React components
- fast shouldComponentUpdate comparisons with immutable data
- one-directional data flow without full Flux
- update nested arrays and objects from root
- lightweight state management for small React projects

## When to choose
- building a legacy React app with deeply nested mutable-style data
- you want a tiny (~4.5kB) immutable state container with simple APIs
- you prefer one-way data flow without Flux/Redux boilerplate

## When to avoid
- starting a new modern React project - use Redux, Zustand, or Immer instead
- you need active maintenance or community support - last release was 2018
- your app uses React hooks and modern state patterns

## Facets
- artifact type: library
- maturity: abandoned
- function: state-management, serialization
- domain: frontend, web-development
- platform: browser
- tags: react, immutable-data, nested-data-structures, flux-alternative, nodejs

## Member repositories
- mquan/cortex (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:24.317742+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-30T06:58:39.636361+00:00, confidence not recorded.
  - readme: https://github.com/mquan/cortex (fetched 2026-08-28T04:03:24.317742+00:00, sha 35b71fd5004d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
