dva-gui
dva-gui copied to clipboard
data flow view
- [x] mv* flow
- [x] component: dispatch a new action
- [x] component: delete
- [x] component: create
- [x] model: delete
- [x] model: create
- [ ] action flow
- [ ] effect: create/update/delete
- [ ] reducer: create/update/delete
- [ ] better action flow layout
- [x] action flow route/page & components/models filtering
#14 create/delete of component
#15 create/delete models #16 add component dispatch
#23 components/models filtering
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| |
| |
| +---------------------------+ +----------------------------+ +---------+ |
| | action | |action | | | |
| +---> .from.contain(component)| +----> .from.contain(otherEffect)+------------+------------------------------------------------------------------------------------+ reducer | |
| | | | | | &¬Contain(component) | | | | |
| | +---------------------------+ | +----------------------------+ | +---------+ |
| | | | |
| | | | |
| | | | |
| | | +-------v-------+ |
| | +--------------------------------------+ | |
| | | effect.effect | |
| +-------------------------------------------------------------------------+ .noTo() | |
| | | |
| +------+--------+ |
| | +----------------------------+ |
| | | | +---------+ |
| | | action | | | |
| +-------------> .notContain(component) +--------------------+----------------------> reducer | |
| | .notContain(otherEffect) | | | | |
| | | | +---------+ |
| +----------------------------+ +----------------v------------------+ |
| | | |
| | effect | |
| | .action.notContain(component) | |
| | .action.notContain(otherEffect) | |
| | | |
| +-----------------------------------+ |
| |
| |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
@ChrisFan 栅格比例看情况吧,感觉 effct 到 ruducer 中间内容可能有点多