Signals
Hobo has some useful reactivity facilities. The core of this is futures_signals::signal::Mutable, from which signals are created, check the futures-signals documentation for details on how to do that.
Hobo re-exports futures_signals as hobo::signals.
text_signal/set_text_signal- callsset_textwhenever the signal value changeschild_signal/add_child_signal- initially creates an emptydiv, then calls.replace_withevery time the signal value changesclass_signal/set_class_signalandclass_typed_signal/set_class_typed_signalandclass_tagged_signal/set_class_tagged_signal- callsset_class_taggedwhenever the signal value changes- will always replace the first class so take care
attr_signal/set_attr_signalandbool_attr_signal/set_bool_attr_signal- callsset_attrwhenever the signal value changesstyle_signal/set_style_signal- callsset_stylewhenever the signal value changesmark_signal- callsmark/unmarkwhenever the signal value changes