Function mount_to_renderer

pub fn mount_to_renderer<F, N>(
    parent: &Element,
    f: F,
) -> UnmountHandle<<N as Render>::State>
where F: FnOnce() -> N + 'static, N: Render,
Expand description

Runs the provided closure and mounts the result to the provided element.