pub async fn render_to_string_await_suspense(
    view: impl FnOnce(Scope<'_>) -> View<SsrNode> + 'static
) -> String
Expand description

Render a View into a static String. Useful for rendering to a string on the server side.

Waits for suspense to be loaded before returning.

This API requires the following crate features to be activated: suspense, ssr