Ant-design-pro: 用hook升级数据流(dva)👑 [需求]

Created on 3 Feb 2020  ·  3Comments  ·  Source: ant-design/ant-design-pro

🥰 需求描述

这次antd pro要使用antd4,在升级的过程中是否考虑将antd pro的数据流(dva)一并考虑用hook的方式升级。
dva的问题

  1. 概念太多,学习成本高
  2. 样板代码太多,很冗余

🧐 解决方案

考虑使用umi 插件的方式: @umijs/plugin-model

🚑 最佳实践

Pro 4 已经发布有一些时间了,在内外部的各种实践中我们期望可以探索出一套最佳实践,sorrycc 的文章中做了很深的思考。接下来我们会发布我们的解决方案。敬请期待!

Inactive 🏆 Feature Request

Most helpful comment

最佳实践已经含苞待放,在3月中旬左右就会完工。🕊

All 3 comments

应该很快就会做改造了。

最佳实践已经含苞待放,在3月中旬左右就会完工。🕊

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yaoleiroyal picture yaoleiroyal  ·  3Comments

zhongjiewu picture zhongjiewu  ·  3Comments

happier2 picture happier2  ·  3Comments

yanjc39 picture yanjc39  ·  3Comments

lvzheng0404 picture lvzheng0404  ·  3Comments