# dva

🌱 React and redux based, lightweight and elm-style framework. (Inspired by elm and choo)

Repository: https://github.com/dvajs/dva
Canonical: https://ross.abutalabs.com/products/dva
Language: JavaScript
License: MIT
License Family: permissive
Topics: dva, redux, redux-saga, framework, elm
Last push: 2025-08-06T04:38:43+00:00

## Health v2 (maintenance only)
Score: 39/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 35, release rhythm 8, longevity 100
- inputs: {"age_days": 3722, "days_push": 392, "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 16150, forks 3101 (observed 2026-08-28T04:11:14.850951+00:00)

## What it is
Dva is a lightweight React and Redux based front-end framework with an Elm-style architecture, built on redux, redux-saga, and react-router. It organizes app logic into models with reducers, effects, and subscriptions, and offers a plugin system and HMR support.

## Use cases
- build a react app with redux without boilerplate
- manage side effects with redux-saga in an elm-style way
- organize reducers, effects, and subscriptions as models
- create an admin dashboard with ant design and dva
- add hot module reloading for models and routes
- extend state handling with a plugin like dva-loading

## When to choose
- you want an elm-style model organization on top of redux and redux-saga
- you are building react or react-native apps with minimal redux boilerplate
- you use umi and want zero-config dva integration

## When to avoid
- you prefer modern react state solutions like zustand or react query
- you want a framework with frequent updates and a large active community
- your project does not use redux patterns

## Facets
- artifact type: framework
- maturity: maintenance
- function: state-management, frontend-framework, middleware
- domain: web-development, frontend
- platform: cross-platform
- tags: react, redux, redux-saga, elm-architecture, react-native, nodejs, web-server

## Member repositories
- dvajs/dva (main) score 39
- dvajs/dva-knowledgemap (docs) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:14.850951+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:05:13.025068+00:00, confidence not recorded.
  - readme: https://github.com/dvajs/dva (fetched 2026-08-28T04:11:14.850951+00:00, sha 26ee832d1e20)
  - registry_npm: https://registry.npmjs.org/dva (fetched 2026-08-29T08:03:28.039211+00:00, sha 1d95e69867d7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
