create_effect

Function create_effect 

Source
pub fn create_effect<F>(f: F) -> EffectId
where F: Fn() + 'static,
Expand description

Create an effect that runs when its dependencies change