Replies: 1 comment
-
|
不绑定数据,渲染formily的field,没有丝毫意义,只会降低可读性 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Designable+formily简直就是为低代码而生的,组合起来功能简直无敌。
但是在使用的过程中,发现在Designable里面直接操作formily的feild挺绕人。
是不是可以直接操作普通的react组件,渲染可执行页面的时候,再转化成formily能接受的格式。
相当于功能拆分独立开来:
1、designable 维护一棵mobx树,只负责界面的绘制
2、formily 维护一颗mobx树,负责处理表单的model。不要去介入页面绘制的事情。
这两部分相互独立,各司其职。
Beta Was this translation helpful? Give feedback.
All reactions