Function dioxus_hooks::computed::use_selector
source · pub fn use_selector<I: 'static, O: Clone + PartialEq + 'static>(
cx: &ScopeState,
tracked: &Tracked<I>,
init: impl FnMut(&I) -> O + 'static
) -> O
pub fn use_selector<I: 'static, O: Clone + PartialEq + 'static>(
cx: &ScopeState,
tracked: &Tracked<I>,
init: impl FnMut(&I) -> O + 'static
) -> O