Function hydrate_from

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

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