Function maple_core::reactive::create_root [−][src]
#[must_use = "create_root returns the owner of the effects created inside this scope"]pub fn create_root(callback: impl FnOnce()) -> Rc<RefCell<Owner>>
Creates a new reactive root. Generally, you won’t need this method as it is called automatically in render
.