# microsoft/redux-dynamic-modules

Modularize Redux by dynamically loading reducers and middlewares.

Repository: https://github.com/microsoft/redux-dynamic-modules
Canonical: https://ross.abutalabs.com/products/redux-dynamic-modules
Homepage: https://redux-dynamic-modules.js.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, redux, modules, saga, sagas, dynamic, reducer, redux-dynamic-modules, middleware, middlewares, code-splitting, code-spliting
Last push: 2024-04-03T19:46:12+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2923, "days_push": 882, "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 1065, forks 111 (observed 2026-08-28T04:03:26.730132+00:00)

## What it is
redux-dynamic-modules is a TypeScript library that lets you modularize Redux by bundling reducers, middleware, and state into reusable modules that can be added or removed from the store at runtime. It includes a DynamicModuleLoader React component that automatically loads and unloads modules as components mount and unmount.

## Use cases
- dynamically load redux reducers at runtime
- code-split redux state for smaller initial bundle
- load reducers and middleware when a react component mounts
- share redux modules across multiple apps in a monorepo
- integrate redux-saga modules dynamically
- add and remove redux middleware on the fly

## When to choose
- you have a large Redux app where loading all reducers up front bloats the initial bundle
- you use code-splitting and need reducers added lazily at runtime
- you want reusable state modules shared across components or applications
- you use redux-saga or redux-thunk and want per-module integration

## When to avoid
- you are starting a new project and can use modern alternatives like Redux Toolkit with injectable slices
- your app is small and all reducers can be defined up front
- you have migrated to a state manager without a global store, such as Zustand or React Query

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management, middleware
- domain: frontend, web-development, developer-tools
- platform: browser, cross-platform
- tags: redux, react, code-splitting, dynamic-loading, redux-saga, typescript, nodejs

## Member repositories
- microsoft/redux-dynamic-modules (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:26.730132+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:55:30.861549+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/redux-dynamic-modules (fetched 2026-08-28T04:03:26.730132+00:00, sha 17f97d1790a3)
  - homepage: https://redux-dynamic-modules.js.org (fetched 2026-08-29T12:57:28.307302+00:00, sha 38fe0272ebab)
  - registry_npm: https://registry.npmjs.org/redux-dynamic-modules (fetched 2026-08-29T12:57:28.316675+00:00, sha 10d21c2d31d1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
