Function sycamore_reactive::try_use_context[][src]

pub fn try_use_context<T: Clone + 'static>() -> Option<T>
Expand description

Get the value of a context in the current ReactiveScope or None if not found.

For a panicking version of this function, see use_context.