pub fn compositionLocalWithComputedDefaultOf<T: Clone + PartialEq + 'static>(
compute: impl Fn(&CompositionLocalAccessorScope) -> T + 'static,
) -> CompositionLocal<T>Expand description
A CompositionLocal whose default is computed at each read without a
provider, from the other locals there. A scope that reads it recomposes
when a dynamic local the computation read changes. As the default reads
locals, it is computed during composition only. Compose’s
compositionLocalWithComputedDefaultOf.