hydrate_from_async

Function hydrate_from_async 

pub async fn hydrate_from_async<F, N>(
    parent: HtmlElement,
    f: F,
) -> UnmountHandle<<N as Render>::State>
where F: FnOnce() -> N + 'static, N: IntoView,
Available on crate feature hydrate only.
Expand description

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