ITADN

Dynamic optional view

#28Openkeis 创建于 2024-08-31
K
keiscommented
Being able to use `Option<View>` as a view is very convenient but does not allow for the state Some/None to change. Being able to dynamically change this would be really useful. I've been able to emulate something like this by stitching `Cond` together with a helper `Unwrap` ViewTemplate. So looks pretty doable to me but I've yet to fully wrap my head around the state tracking in quill works.
2 条评论