Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

dva

> 编程语言
Open source

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

16.2K stars0 likes3 views
WebsiteGitHub

About

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

English | 简体中文

dva

Lightweight front-end framework based on redux, redux-saga and react-router. (Inspired by elm and choo)


Features

  • Easy to learn, easy to use: only 6 apis, very friendly to redux users, and API reduce to 0 when use with umi
  • Elm concepts: organize models with reducers, effects and subscriptions
  • Support HMR: support HMR for components, routes and models with babel-plugin-dva-hmr
  • Plugin system: e.g. we have dva-loading plugin to handle loading state automatically

Demos

  • Count: Simple count example
  • User Dashboard: User management dashboard
  • AntDesign Pro:(Demo),out-of-box UI solution for enterprise applications
  • HackerNews: (Demo),HackerNews Clone
  • antd-admin: (Demo),A admin dashboard application demo built upon Ant Design and Dva.js
  • github-stars: (Demo),Github star management application
  • Account System: A small inventory management system
  • react-native-dva-starter: react-native example integrated dva and react-navigation

Quick Start

See the docs directory for guides and API references.

FAQ

Why is it called dva?

D.Va’s mech is nimble and powerful — its twin Fusion Cannons blast away with autofire at short range, and she can use its Boosters to barrel over enemies and obstacles, or deflect attacks with her projectile-dismantling Defense Matrix.

—— From OverWatch

Is it production ready?

Sure! We have 1000+ projects using dva in Alibaba.

Does it support IE8?

No.

Next

Some basic articles.

  • The 8 Concepts, and know how they are connected together
  • dva APIs
  • Checkout dva knowledgemap, including all the basic knowledge with ES6, React, dva
  • Checkout more FAQ
  • If your project is created by dva-cli, checkout how to Configure it

Want more?

  • 看看 dva 的前身 React + Redux 最佳实践,知道 dva 是怎么来的
  • 在 gitc 分享 dva 的 PPT :React 应用框架在蚂蚁金服的实践
  • 如果还在用 [email protected],请尽快 升级到 2.x

Community

Slack Group Github Issue 钉钉群 微信群
sorrycc.slack.com umijs/umi/issues

License

MIT

Issues· 29 open

View all issuesOpen on GitHub
  • #2525

    [Feature Request] Flutter 版本 dva已发布

    Updated May 25, 2026
  • #2524

    存在漏洞依赖 node-fetch

    Updated Sep 29, 2025
  • #2522

    Please update links!

    Updated Aug 10, 2025
  • #2520

    dva 官网 https://dva.mxlab.top/

    Updated Jun 25, 2025
  • #2521

    use `require("history").createHashHistory` instead of `require("history/createHashHistory")`

    Updated Jan 14, 2025
  • #2494

    现在都没人维护了么,react都更新N个版本了,还是19年更新后,路由都到了v6版本了

    Updated Nov 13, 2024
  • #2517

    域名没啦

    Updated Nov 13, 2024
  • #2519

    旧项目需要文档的请进来看看

    Updated Nov 13, 2024
  • #2504

    dva 的正式版本才 2.4.1 ,怎么 dva-immer 的 peerDependencies 里的 dva 版本已经是 2.5.0 了?

    Updated Feb 28, 2024
  • #2513

    可以在单个reducer里获取全局state吗

    Updated Feb 5, 2024

> Tags

JavaScriptdvaelmframeworkredux

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言