Function dioxus::prelude::try_use_context
source · pub fn try_use_context<T>() -> Option<T>where
T: 'static + Clone,
Available on crate feature
hooks
only.Expand description
Consume some context in the tree, providing a sharable handle to the value
Does not regenerate the value if the value is changed at the parent.