pub fn current_scope() -> ReactiveScopeWeak {
    SCOPES.with(|scope| {
        scope
            .borrow()
            .last()
            .map(|last_context| last_context.downgrade())
            .unwrap_or_default()
    })
}
/// Returns a [`ReactiveScopeWeak`] handle to the current reactive scope. If outside a scope,
/// returns a [`ReactiveScopeWeak`] that points to nothing.
Returns a [`ReactiveScopeWeak`] handle to the current reactive scope. If outside a scope,
returns a [`ReactiveScopeWeak`] that points to nothing.
Returns a [ ` ReactiveScopeWeak ` ] handle to the current reactive scope . If outside a scope returns a [ ` ReactiveScopeWeak ` ] that points to nothing .
pub fn current_scope() -> ReactiveScopeWeak {
    SCOPES.with(|scope| {
        scope
            .borrow()
            .last()
            .map(|last_context| last_context.downgrade())
            .unwrap_or_default()
    })
}
pub fn current_scope ( ) -> ReactiveScopeWeak { SCOPES . with ( | scope | { scope . borrow ( ) . last ( ) . map ( | last_context | last_context . downgrade ( ) ) . unwrap_or_default ( ) } ) }
Returns a [`ReactiveScopeWeak`] handle to the current reactive scope.
Returns a [ ` ReactiveScopeWeak ` ] handle to the current reactive scope .