sycamore::reactive

Function use_scope_depth

pub fn use_scope_depth() -> u32
Expand description

Gets how deep the current scope is from the root/global scope. The value for the global scope itself is always 0.