Function yew_hooks::use_effect_update_with_deps
source · [−]pub fn use_effect_update_with_deps<Callback, Destructor, Dependents>(
callback: Callback,
deps: Dependents
) where
Callback: FnOnce(&Dependents) -> Destructor + 'static,
Destructor: FnOnce() + 'static,
Dependents: PartialEq + 'static, Expand description
This hook is similar to use_effect_update but it accepts dependencies.
The signature is exactly the same as the use_effect_with_deps hook.