# omnidan/redux-undo

:recycle: higher order reducer to add undo/redo functionality to redux state containers

Repository: https://github.com/omnidan/redux-undo
Canonical: https://ross.abutalabs.com/products/redux-undo
Language: JavaScript
License: MIT
License Family: permissive
Topics: redux, redux-state, redux-undo, undo, redo, history, react
Archived: true
Last push: 2026-01-02T10:39:38+00:00

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

## Adoption (not part of the score)
Stars 2900, forks 184 (observed 2026-08-28T04:07:28.880013+00:00)

## What it is
A higher-order reducer for Redux that adds undo/redo functionality to state containers by wrapping existing reducers with an undoable history API. It is a small JavaScript library distributed via npm under the MIT license.

## Use cases
- add undo/redo to a redux app
- implement time travel in redux state
- keep action history for a reducer
- build a todo app with undo support
- wrap an existing reducer with history tracking

## When to choose
- you use Redux and need undo/redo with minimal setup
- you want a simple higher-order reducer approach to state history
- you need time-travel debugging of state changes

## When to avoid
- you are not using Redux as your state container
- you need a actively maintained project with ongoing support
- you need undo/redo outside of a Redux reducer architecture

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management, middleware
- domain: frontend, web-development, developer-tools
- platform: browser
- tags: redux, undo-redo, time-travel, higher-order-reducer, history, nodejs, javascript

## Member repositories
- omnidan/redux-undo (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:28.880013+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:35:10.881515+00:00, confidence not recorded.
  - readme: https://github.com/omnidan/redux-undo (fetched 2026-08-28T04:07:28.880013+00:00, sha ae455c6a768b)
  - registry_npm: https://registry.npmjs.org/redux-undo (fetched 2026-08-29T09:50:15.449368+00:00, sha ee8c4177f744)
- Data as of 2026-08-30T08:39:29.467469+00:00.
