codyduong / hitokage

A configurable status bar for Windows implemented in Rust
MIT License
15 stars 0 forks source link

The future of `reactive` #32

Open codyduong opened 1 month ago

codyduong commented 1 month ago

Discussion for reactive. Initially I wanted every prop accept reactive, but this might be overkill.

Instead in lieu maybe accept the following

codyduong commented 1 month ago

On a further note, it would be best for values that are NonOptions, aka required fields only.

codyduong commented 1 month ago

Reactive still has issues on fields which are not regularly watched (ie. if it is not already constructed in a relm4 view! macro with watcher, it will be hard to watch the ArcMutex for updates. So it serves no purpose in custom widgets)