Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

123123 #1

Closed
lixuecn opened this issue Jul 23, 2017 · 0 comments
Closed

123123 #1

lixuecn opened this issue Jul 23, 2017 · 0 comments

Comments

@lixuecn
Copy link
Owner

lixuecn commented Jul 23, 2017

dva

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

View README in English

基于 reduxredux-saga[email protected] 的轻量级前端框架。(Inspired by elm and choo)


特性

  • 易学易用:仅有 6 个 api,对 redux 用户尤其友好
  • elm 概念:通过 reducers, effectssubscriptions 组织 model
  • 支持 mobile 和 react-native:跨平台 (react-native 例子)
  • 支持 HMR:目前基于 babel-plugin-dva-hmr 支持 components、routes 和 models 的 HMR
  • 动态加载 Model 和路由:按需加载加快访问速度 (例子)
  • 插件机制:比如 dva-loading 可以自动处理 loading 状态,不用一遍遍地写 showLoading 和 hideLoading
  • 完善的语法分析库 dva-astdva-cli 基于此实现了智能创建 model, router 等
  • 支持 TypeScript:通过 d.ts (例子)

为什么用 dva ?

Demos

快速上手

12 步 30 分钟,完成用户管理的 CURD 应用 (react+dva+antd)

FAQ

命名由来?

D.Va拥有一部强大的机甲,它具有两台全自动的近距离聚变机炮、可以使机甲飞跃敌人或障碍物的推进器、 还有可以抵御来自正面的远程攻击的防御矩阵。

—— 来自 守望先锋

是否可用于生产环境?

当然!公司内外用于生产环境的项目估计已上百。

是否支持 IE8 ?

不支持。

下一步

以下能帮你更好地理解和使用 dva :

还要了解更多?

License

MIT

@lixuecn lixuecn closed this as completed Jul 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant