Function sycamore_reactive::create_context_scope[][src]

pub fn create_context_scope<T: 'static, Out>(
    value: T,
    f: impl FnOnce() -> Out
) -> Out
Expand description

Creates a new ReactiveScope with a context and runs the supplied callback function.