-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
不再使用style了,多一个额外模块增加管理困难,改为全部合入props。同时props依赖的数据流系统需要改进。
任务列表
- 移除style
- 在
ElementModel上添加child_props,以供父元素读取 - 数据流更新方式改为先脏标记后处理,来避免单周期重复更新
- 数据流增加
DirtyFlag类型,用于仅接受脏标记不更新,用于懒更新 - 所有数据流类型行为改变:改为主动删除对自己依赖项的监听,同时不再主动删除依赖于自己的监听器
- props改为建造者模式(
Default::default().props1(xxx).props2(xxx)) - 为
Wire<T>类型实现From<T>以接受常量 - 所有props的数据流改为手动创建(包括repeat结构),并添加clone参数
Metadata
Metadata
Assignees
Labels
No labels