基于React和Redux的树型结构轻量级JS框架

网友投稿 516 2022-10-30

基于React和Redux的树型结构轻量级js框架

基于React和Redux的树型结构轻量级JS框架

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 umiElm concepts: organize models with reducers, effects and subscriptionsSupport HMR: support HMR for components, routes and models with babel-plugin-dva-hmrPlugin system: e.g. we have dva-loading plugin to handle loading state automatically

Demos

Count: Simple count exampleUser Dashboard: User management dashboardAntDesign Pro:(Demo),out-of-box UI solution for enterprise applicationsHackerNews: (Demo),HackerNews Cloneantd-admin: (Demo),A admin dashboard application demo built upon Ant Design and Dva.jsgithub-stars: (Demo),Github star management applicationAccount System: A small inventory management systemreact-native-dva-starter: react-native example integrated dva and react-navigation

Quick Start

Real project with dvadva intro course

More documentation, checkout https://dvajs.com/

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 togetherdva APIsCheckout dva knowledgemap, including all the basic knowledge with ES6, React, dvaCheckout more FAQIf your project is created by dva-cli, checkout how to Configure it

Want more?

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

Community

License

MIT

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:samba文件系统使用mount
下一篇:金融市场知识3.1--股票
相关文章

 发表评论

暂时没有评论,来抢沙发吧~