# erikras/ducks-modular-redux

A proposal for bundling reducers, action types and actions when using Redux

Repository: https://github.com/erikras/ducks-modular-redux
Canonical: https://ross.abutalabs.com/products/ducks-modular-redux
Language: JavaScript
License Family: other
Last push: 2022-01-31T03:42:20+00:00

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

## Adoption (not part of the score)
Stars 9548, forks 335 (observed 2026-08-28T04:10:31.834603+00:00)

## What it is
A proposal and documentation describing the 'ducks' pattern for bundling Redux reducers, action types, and action creators into single self-contained modules. It is not a library but a widely-adopted convention with example code and rules.

## Use cases
- organize redux code into modular bundles
- structure reducers and actions in one file
- package reusable redux modules
- learn the ducks pattern for redux
- avoid splitting action types and reducers across folders

## When to choose
- starting a Redux app and wanting a simple module convention
- packaging reusable Redux reducer bundles as a library
- teaching or standardizing Redux file organization

## When to avoid
- using Redux Toolkit, which supersedes this pattern with slices
- you need an executable tool or library rather than a convention
- non-Redux state management setups

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: state-management, frontend-framework
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: redux, ducks-pattern, proposal, reducer-bundles, documentation, nodejs, javascript

## Member repositories
- erikras/ducks-modular-redux (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:31.834603+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-29T17:21:57.788459+00:00, confidence not recorded.
  - readme: https://github.com/erikras/ducks-modular-redux (fetched 2026-08-28T04:10:31.834603+00:00, sha e8586da502b8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
