leptos_use

Function use_sorted_by_key

Source
pub fn use_sorted_by_key<S, I, T, K, F>(iterable: S, key_fn: F) -> Signal<I>
where S: Into<MaybeSignal<I>>, I: DerefMut<Target = [T]> + Clone + PartialEq, K: Ord, F: FnMut(&T) -> K + Clone + 'static,
Expand description

Version of use_sorted by key.