dva README

The project's README from github.com/dvajs/dva. As one markdown file: README.md.

English | 简体中文

dva

codecov CircleCI NPM version Build Status Coverage Status NPM downloads Dependencies Join the chat at https://gitter.im/dvajs/Lobby

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


Features

Demos

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.

Want more?

Community

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

License

MIT

dva (dvajs/dva)

redux
Searching Database…

16.1K ·GitHub
What is this?dva is a lightweight front-end framework for building React applications, built on redux, redux-saga and react-router, with its design inspired by elm and choo.
Is it a framework on top of Redux, or a replacement for it?It wraps Redux rather than replacing it: redux-saga and react-router stay underneath, you only learn 6 APIs, and if you use it together with umi the dva API surface drops to 0.
How do I get started with it?The Quick Start section points you to the docs directory in the repo, which contains the guides and API references.
Is it safe to use in production?Yes — the authors call it production ready, with 1000+ projects using dva at Alibaba. One hard limit: IE8 is not supported.
How does it organize app logic compared to plain Redux?Following Elm concepts, each model groups its reducers, effects and subscriptions together, so async logic lives right next to the state it drives instead of being scattered across separate files.
Does it support hot reloading while I develop?Yes. HMR is supported for components, routes and models via babel-plugin-dva-hmr.
Can I extend it with plugins?Yes, there is a plugin system — for example, the dva-loading plugin handles loading state automatically.
Are there example apps I can learn from?Yes: a simple count demo, a user management dashboard, a HackerNews clone, an admin dashboard built on Ant Design (antd-admin), a GitHub stars manager, a small inventory system, AntDesign Pro as an out-of-box enterprise UI solution, and a react-native starter.
Creator
dvajs
Size
1.5 MB
Stars
16.1K
Age
10y
Commits · 90 Days